1 error[E0560]: struct `S` has no field named `x`
2 --> $DIR/nested-non-tuple-tuple-struct.rs:8:19
4 LL | pub struct S(f32, f32);
7 LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
8 | ^ field does not exist
10 help: `S` is a tuple struct, use the appropriate syntax
12 LL | let _x = (S(/* fields */), S { x: 3.0, y: 4.0 });
15 error[E0560]: struct `S` has no field named `y`
16 --> $DIR/nested-non-tuple-tuple-struct.rs:8:27
18 LL | pub struct S(f32, f32);
21 LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
22 | ^ field does not exist
24 help: `S` is a tuple struct, use the appropriate syntax
26 LL | let _x = (S(/* fields */), S { x: 3.0, y: 4.0 });
29 error[E0560]: struct `S` has no field named `x`
30 --> $DIR/nested-non-tuple-tuple-struct.rs:8:41
32 LL | pub struct S(f32, f32);
35 LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
36 | ^ field does not exist
38 help: `S` is a tuple struct, use the appropriate syntax
40 LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* fields */));
43 error[E0560]: struct `S` has no field named `y`
44 --> $DIR/nested-non-tuple-tuple-struct.rs:8:49
46 LL | pub struct S(f32, f32);
49 LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
50 | ^ field does not exist
52 help: `S` is a tuple struct, use the appropriate syntax
54 LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* fields */));
57 error[E0559]: variant `E::V` has no field named `x`
58 --> $DIR/nested-non-tuple-tuple-struct.rs:13:22
61 | - `E::V` defined here
63 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
64 | ^ field does not exist
66 help: `E::V` is a tuple variant, use the appropriate syntax
68 LL | let _y = (E::V(/* fields */), E::V { x: 3.0, y: 4.0 });
71 error[E0559]: variant `E::V` has no field named `y`
72 --> $DIR/nested-non-tuple-tuple-struct.rs:13:30
75 | - `E::V` defined here
77 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
78 | ^ field does not exist
80 help: `E::V` is a tuple variant, use the appropriate syntax
82 LL | let _y = (E::V(/* fields */), E::V { x: 3.0, y: 4.0 });
85 error[E0559]: variant `E::V` has no field named `x`
86 --> $DIR/nested-non-tuple-tuple-struct.rs:13:47
89 | - `E::V` defined here
91 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
92 | ^ field does not exist
94 help: `E::V` is a tuple variant, use the appropriate syntax
96 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* fields */));
99 error[E0559]: variant `E::V` has no field named `y`
100 --> $DIR/nested-non-tuple-tuple-struct.rs:13:55
103 | - `E::V` defined here
105 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
106 | ^ field does not exist
108 help: `E::V` is a tuple variant, use the appropriate syntax
110 LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* fields */));
113 error: aborting due to 8 previous errors
115 Some errors have detailed explanations: E0559, E0560.
116 For more information about an error, try `rustc --explain E0559`.