-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Super weird parse error #10498
Comments
Looks to me like the parser sees the comma after the x and decides that the curly braces are part of a separate block, and that the semicolon is omitted. Changing the comma to a colon fixes the problem. I don't see a super-obvious fix for this. |
Triage: still an issue (with |
This seems to be better now:
|
Yup, can confirm. |
…ing, r=Jarcho [`let_with_type_underscore`]: Don't emit on locals from procedural macros closes rust-lang#10498 changelog: [`let_with_type_underscore`]: Don't emit on locals from procedural macros
…ing, r=Jarcho [`let_with_type_underscore`]: Don't emit on locals from procedural macros closes rust-lang#10498 changelog: [`let_with_type_underscore`]: Don't emit on locals from procedural macros
…ing, r=Jarcho [`let_with_type_underscore`]: Don't emit on locals from procedural macros closes rust-lang#10498 changelog: [`let_with_type_underscore`]: Don't emit on locals from procedural macros
…ing, r=Jarcho [`let_with_type_underscore`]: Don't emit on locals from procedural macros closes rust-lang#10498 changelog: [`let_with_type_underscore`]: Don't emit on locals from procedural macros
gives
cc @jbclements
The text was updated successfully, but these errors were encountered: