rust/tests/ui/parser/issues/issue-10392.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
113 B
Rust
Raw Normal View History

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