1 // issue #41834 2 3 #[derive(Default)] 4 struct Foo { 5 one: u8, 6 } 7 main()8fn main() { 9 let foo = Foo { 10 one: 111, 11 ..Foo::default(), 12 //~^ ERROR cannot use a comma after the base struct 13 }; 14 15 let foo = Foo { 16 ..Foo::default(), 17 //~^ ERROR cannot use a comma after the base struct 18 one: 111, 19 }; 20 } 21