2022-04-14 15:42:15 -05:00
|
|
|
struct Bug<A = [(); (let a = (), 1).1]> {
|
|
|
|
//~^ `let` expressions are not supported here
|
2022-08-20 13:40:08 -05:00
|
|
|
//~| `let` expressions in this position are unstable [E0658]
|
2022-06-25 06:08:38 -05:00
|
|
|
//~| expected expression, found `let` statement
|
2022-04-14 15:42:15 -05:00
|
|
|
a: A
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|