if_let_guard
+ let_chains
: used binding is possibly-uninitialized
#118593
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-if_let_guard
`#![feature(if_let_guard)]`
F-let_chains
`#![feature(let_chains)]`
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 code compiles.
Instead, this happened: it doesn't compile.
If I remove the
&& true
, it does compile.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: