rust/tests/ui/mir/issue-92893.rs

7 lines
125 B
Rust

struct Bug<A = [(); (let a = (), 1).1]> {
//~^ ERROR expected expression, found `let` statement
a: A
}
fn main() {}