rust/tests/ui/mir/issue-92893.rs
2023-01-11 09:32:08 +00:00

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() {}