=>
to =
typo in match arm results in lots of parse errors
#89396
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
A typo of
=>
to=
in a match arm currently results in a lot of cascading errors.We should gracefully handle some cases like
>
and=
instead of=>
if followed by a{
in a match arm.The text was updated successfully, but these errors were encountered: