rust/tests/ui/parser/issues/issue-10392.rs
2023-01-11 09:32:08 +00:00

8 lines
113 B
Rust

struct A { foo: isize }
fn a() -> A { panic!() }
fn main() {
let A { , } = a(); //~ ERROR expected ident
}