1warning: 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
3   |
4LL | #![feature(let_chains)]
5   |            ^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8   = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
9
10warning: irrefutable `let` pattern
11  --> $DIR/issue-82290.rs:6:16
12   |
13LL |     if true && let x = 1 {
14   |                ^^^^^^^^^
15   |
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`
19
20warning: 2 warnings emitted
21
22