let_chains
and typo of ==
to =
produce bad diagnostic
#97469
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
F-let_chains
`#![feature(let_chains)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I wrote code like
when I meant
and was confused by the rust-analyzer and rustc output:
The text was updated successfully, but these errors were encountered: