1 error: expected expression, found `let` statement
2 --> $DIR/issue-92893.rs:1:22
4 LL | struct Bug<A = [(); (let a = (), 1).1]> {
7 error: `let` expressions are not supported here
8 --> $DIR/issue-92893.rs:1:22
10 LL | struct Bug<A = [(); (let a = (), 1).1]> {
13 = note: only supported directly in conditions of `if` and `while` expressions
15 error[E0658]: `let` expressions in this position are unstable
16 --> $DIR/issue-92893.rs:1:22
18 LL | struct Bug<A = [(); (let a = (), 1).1]> {
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
24 error: aborting due to 3 previous errors
26 For more information about this error, try `rustc --explain E0658`.