Recover from |
-> =>
typo
#86305
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
It is not uncommon when reworking
match
arms or adding a new variant to have in-progress code that looks likeby copying the existing line when trying to get to
The parser could detect cases like these and avoid further parse errors after this point.
The text was updated successfully, but these errors were encountered: