1 pub struct S(f32, f32);
8 let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
9 //~^ ERROR struct `S` has no field named `x`
10 //~| ERROR struct `S` has no field named `y`
11 //~| ERROR struct `S` has no field named `x`
12 //~| ERROR struct `S` has no field named `y`
13 let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
14 //~^ ERROR variant `E::V` has no field named `x`
15 //~| ERROR variant `E::V` has no field named `y`
16 //~| ERROR variant `E::V` has no field named `x`
17 //~| ERROR variant `E::V` has no field named `y`