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

9 lines
234 B
Rust
Raw Normal View History

2022-04-14 15:42:15 -05:00
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
2022-04-14 15:42:15 -05:00
a: A
}
fn main() {}