Spurious irrefutable_let_patterns
warning
#141365
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Code
requires
Current output
Desired output
Rationale and extra context
Distinct from #139369. No let chains in sight. The relevant enum has multiple cases, and the compiler correctly diagnoses an error if I remove the
if
.Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: