Detect incorrect chaining of if
and if let
conditions and recover gracefully
#103381
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-papercut
Diagnostics: An error or lint that needs small tweaks.
F-let_chains
`#![feature(let_chains)]`
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given
the current output is
We should detect that what was intended was
#53667 (comment)
The text was updated successfully, but these errors were encountered: