Closed
Description
I had a weird error message on the rust compiler when trying to compile something like this:
let Struct { name: "a".to_string() }
Here is a playground link that reproduces it better.
This gives out a weird expected ','
error, which wasn't at all what I was expecting. Certainly because of my sleepy state, but still weird.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: The lexing & parsing of Rust source code to an ASTCategory: An issue proposing an enhancement or a PR with one.Diagnostics: Confusing error or lint that should be reworked.Relevant to the compiler team, which will review and decide on the PR/issue.