summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-10392.rs
blob: 5b0c2fc2be4076dc38007aaa4fba6cd1406df267 (plain)
1
2
3
4
5
6
7
struct A { foo: isize }

fn a() -> A { panic!() }

fn main() {
    let A { , } = a(); //~ ERROR expected ident
}