mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +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() {}
|