1 struct Foo { 2 x: i32, 3 y: i32 4 } 5 main()6 fn main() { 7 let (x, y, z) = (0, 1, 2); 8 let foo = Foo { 9 x, y, z //~ ERROR struct `Foo` has no field named `z` 10 }; 11 } 12