mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +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() {}
|