1 warning: the feature `let_chains` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-82290.rs:3:12
4 LL | #![feature(let_chains)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
10 warning: irrefutable `let` pattern
11 --> $DIR/issue-82290.rs:6:16
13 LL | if true && let x = 1 {
16 = note: `#[warn(irrefutable_let_patterns)]` on by default
17 = note: this pattern will always match, so the `let` is useless
18 = help: consider removing `let`
20 warning: 2 warnings emitted