summaryrefslogtreecommitdiffstats
path: root/tests/ui/mir/issue-92893.rs
blob: 635050f376c8a73c50f2eb946648600e9bfbd34e (plain)
1
2
3
4
5
6
7
8
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() {}