]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mir/issue-92893.rs
Rollup merge of #102857 - saethlin:derived-enum-hash-test, r=Mark-Simulacrum
[rust.git] / src / test / ui / mir / issue-92893.rs
1 struct Bug<A = [(); (let a = (), 1).1]> {
2     //~^ `let` expressions are not supported here
3     //~| `let` expressions in this position are unstable [E0658]
4     //~| expected expression, found `let` statement
5     a: A
6 }
7
8 fn main() {}