False positive 'unnecessary parenthesis' with 'if let': #75300
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
F-let_chains
`#![feature(let_chains)]`
The following code:
produces the following warning:
However, removing the parenthesis results in an error:
The text was updated successfully, but these errors were encountered: