mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
9 lines
234 B
Rust
9 lines
234 B
Rust
struct Bug<A = [(); (let a = (), 1).1]> {
|
|
//~^ `let` expressions are not supported here
|
|
//~| `let` expressions in this position are unstable [E0658]
|
|
//~| expected expression, found `let` statement
|
|
a: A
|
|
}
|
|
|
|
fn main() {}
|