]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pattern/issue-82290.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / pattern / issue-82290.stderr
CommitLineData
6a06907d
XL
1error: `let` expressions are not supported here
2 --> $DIR/issue-82290.rs:4:16
3 |
4LL | if true && let x = 1 {
5 | ^^^^^^^^^
6 |
7 = note: only supported directly without parentheses in conditions of `if`- and `while`-expressions, as well as in `let` chains within parentheses
8
9warning: the feature `let_chains` is incomplete and may not be safe to use and/or cause compiler crashes
10 --> $DIR/issue-82290.rs:1:12
11 |
12LL | #![feature(let_chains)]
13 | ^^^^^^^^^^
14 |
15 = note: `#[warn(incomplete_features)]` on by default
16 = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
17
18error: aborting due to previous error; 1 warning emitted
19