1 2 3 4 5 6 7 8 9 10 11 12 13
struct Foo { first: bool, second: u8, } fn main() { let a = Foo { //~^ ERROR missing field first: true second: 25 //~^ ERROR expected one of }; }