]> git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/issue-82290.stderr
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / pattern / issue-82290.stderr
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
3 |
4 LL | #![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
10 warning: irrefutable `let` pattern
11 --> $DIR/issue-82290.rs:6:16
12 |
13 LL | 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
20 warning: 2 warnings emitted
21