@@ -9,8 +9,8 @@ LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
99 |
1010help: `S` is a tuple struct, use the appropriate syntax
1111 |
12- LL | let _x = (S(/* fields */), S { x: 3.0, y: 4.0 });
13- | ~~~~~~~~~~~~~~~
12+ LL | let _x = (S(/* f32 */, /* f32 */), S { x: 3.0, y: 4.0 });
13+ | ~~~~~~~~~~~~~~~~~~~~~~~
1414
1515error[E0560]: struct `S` has no field named `y`
1616 --> $DIR/nested-non-tuple-tuple-struct.rs:8:27
@@ -23,8 +23,8 @@ LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
2323 |
2424help: `S` is a tuple struct, use the appropriate syntax
2525 |
26- LL | let _x = (S(/* fields */), S { x: 3.0, y: 4.0 });
27- | ~~~~~~~~~~~~~~~
26+ LL | let _x = (S(/* f32 */, /* f32 */), S { x: 3.0, y: 4.0 });
27+ | ~~~~~~~~~~~~~~~~~~~~~~~
2828
2929error[E0560]: struct `S` has no field named `x`
3030 --> $DIR/nested-non-tuple-tuple-struct.rs:8:41
@@ -37,8 +37,8 @@ LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
3737 |
3838help: `S` is a tuple struct, use the appropriate syntax
3939 |
40- LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* fields */));
41- | ~~~~~~~~~~~~~~~
40+ LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* f32 */, /* f32 */));
41+ | ~~~~~~~~~~~~~~~~~~~~~~~
4242
4343error[E0560]: struct `S` has no field named `y`
4444 --> $DIR/nested-non-tuple-tuple-struct.rs:8:49
@@ -51,8 +51,8 @@ LL | let _x = (S { x: 1.0, y: 2.0 }, S { x: 3.0, y: 4.0 });
5151 |
5252help: `S` is a tuple struct, use the appropriate syntax
5353 |
54- LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* fields */));
55- | ~~~~~~~~~~~~~~~
54+ LL | let _x = (S { x: 1.0, y: 2.0 }, S(/* f32 */, /* f32 */));
55+ | ~~~~~~~~~~~~~~~~~~~~~~~
5656
5757error[E0559]: variant `E::V` has no field named `x`
5858 --> $DIR/nested-non-tuple-tuple-struct.rs:13:22
@@ -65,8 +65,8 @@ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
6565 |
6666help: `E::V` is a tuple variant, use the appropriate syntax
6767 |
68- LL | let _y = (E::V(/* fields */), E::V { x: 3.0, y: 4.0 });
69- | ~~~~~~~~~~~~~~~~~~
68+ LL | let _y = (E::V(/* f32 */, /* f32 */), E::V { x: 3.0, y: 4.0 });
69+ | ~~~~ ~~~~~~~~~~~~~~~~~~
7070
7171error[E0559]: variant `E::V` has no field named `y`
7272 --> $DIR/nested-non-tuple-tuple-struct.rs:13:30
@@ -79,8 +79,8 @@ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
7979 |
8080help: `E::V` is a tuple variant, use the appropriate syntax
8181 |
82- LL | let _y = (E::V(/* fields */), E::V { x: 3.0, y: 4.0 });
83- | ~~~~~~~~~~~~~~~~~~
82+ LL | let _y = (E::V(/* f32 */, /* f32 */), E::V { x: 3.0, y: 4.0 });
83+ | ~~~~ ~~~~~~~~~~~~~~~~~~
8484
8585error[E0559]: variant `E::V` has no field named `x`
8686 --> $DIR/nested-non-tuple-tuple-struct.rs:13:47
@@ -93,8 +93,8 @@ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
9393 |
9494help: `E::V` is a tuple variant, use the appropriate syntax
9595 |
96- LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* fields */));
97- | ~~~~~~~~~~~~~~~~~~
96+ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* f32 */, /* f32 */));
97+ | ~~~~ ~~~~~~~~~~~~~~~~~~
9898
9999error[E0559]: variant `E::V` has no field named `y`
100100 --> $DIR/nested-non-tuple-tuple-struct.rs:13:55
@@ -107,8 +107,8 @@ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V { x: 3.0, y: 4.0 });
107107 |
108108help: `E::V` is a tuple variant, use the appropriate syntax
109109 |
110- LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* fields */));
111- | ~~~~~~~~~~~~~~~~~~
110+ LL | let _y = (E::V { x: 1.0, y: 2.0 }, E::V(/* f32 */, /* f32 */));
111+ | ~~~~ ~~~~~~~~~~~~~~~~~~
112112
113113error: aborting due to 8 previous errors
114114
0 commit comments