]> git.proxmox.com Git - rustc.git/blame - src/test/ui/mir/issue-92893.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / mir / issue-92893.stderr
CommitLineData
064997fb
FG
1error: expected expression, found `let` statement
2 --> $DIR/issue-92893.rs:1:22
3 |
4LL | struct Bug<A = [(); (let a = (), 1).1]> {
5 | ^^^
6
04454e1e
FG
7error: `let` expressions are not supported here
8 --> $DIR/issue-92893.rs:1:22
9 |
10LL | struct Bug<A = [(); (let a = (), 1).1]> {
11 | ^^^^^^^^^^
12 |
13 = note: only supported directly in conditions of `if` and `while` expressions
14
15error[E0658]: `let` expressions in this position are unstable
16 --> $DIR/issue-92893.rs:1:22
17 |
18LL | struct Bug<A = [(); (let a = (), 1).1]> {
19 | ^^^^^^^^^^
20 |
21 = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
22 = help: add `#![feature(let_chains)]` to the crate attributes to enable
23
064997fb 24error: aborting due to 3 previous errors
04454e1e
FG
25
26For more information about this error, try `rustc --explain E0658`.