about summary refs log tree commit diff
path: root/tests/ui/typeck/struct-index-err-ice-issue-126744.rs
blob: 00edc4d8e41e77bc5d83251b17cf4f4cf283fd93 (plain)
1
2
3
4
5
6
7
struct X {,} //~ ERROR expected identifier, found `,`

fn main() {
    || {
        if let X { x: 1,} = (X {}) {}
    };
}