]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error: `let` expressions are not supported here |
2 | --> $DIR/issue-82290.rs:4:16 | |
3 | | | |
4 | LL | 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 | ||
9 | warning: 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 | | | |
12 | LL | #![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 | ||
18 | error: aborting due to previous error; 1 warning emitted | |
19 |