1 2 3 4 5 6 7 8 9
// run-rustfix pub struct A { pub foo: isize } fn a() -> A { panic!() } fn main() { let A { .. } = a(); //~ ERROR: expected `}` }