if-let guard point to let_chains issue #74232
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
The compilation fails and error points out that if-let guard is not implemented
and being tracked at #51114
Instead, this happened:
The error points to
let_chains
feature, which is wrong and adding that feature gatedoesn't make the code compile.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: