Bad parse error on many token sequences #136100
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
this is meant to be a more general version of #134580
as opposed to #134580, however, this does not apply to
const async
, which is betterOther cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: