Poor diagnostic when using = instead of : in let bindings #133713
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
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 a silly mistake to make and also simple to detect and autofix.
Other cases
Rust Version
Anything else?
@rustbot label +D-incorrect +D-confusing +A-parser
The text was updated successfully, but these errors were encountered: