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