|
1 | 1 | error: suffixes on a tuple index are invalid
|
2 |
| - --> $DIR/tuple-index-suffix.rs:23:48 |
| 2 | + --> $DIR/tuple-index-suffix.rs:24:48 |
3 | 3 | |
|
4 | 4 | LL | let invalid_tup_struct_suffix = tup_struct.0suffix;
|
5 | 5 | | ^^^^^^^ invalid suffix `suffix`
|
6 | 6 |
|
7 |
| -warning: suffixes on a tuple index are invalid |
8 |
| - --> $DIR/tuple-index-suffix.rs:25:50 |
9 |
| - | |
10 |
| -LL | let carve_out_tup_struct_suffix = tup_struct.0i32; |
11 |
| - | ^^^^ invalid suffix `i32` |
| 7 | +error: suffixes on a tuple index are invalid |
| 8 | + --> $DIR/tuple-index-suffix.rs:26:59 |
12 | 9 | |
|
13 |
| - = help: `i32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
14 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
15 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 10 | +LL | let previous_carve_out_tup_struct_suffix = tup_struct.0i32; |
| 11 | + | ^^^^ invalid suffix `i32` |
16 | 12 |
|
17 | 13 | error: suffixes on a tuple index are invalid
|
18 |
| - --> $DIR/tuple-index-suffix.rs:29:34 |
| 14 | + --> $DIR/tuple-index-suffix.rs:30:34 |
19 | 15 | |
|
20 | 16 | LL | let invalid_tup_suffix = tup.0suffix;
|
21 | 17 | | ^^^^^^^ invalid suffix `suffix`
|
22 | 18 |
|
23 |
| -warning: suffixes on a tuple index are invalid |
24 |
| - --> $DIR/tuple-index-suffix.rs:31:36 |
25 |
| - | |
26 |
| -LL | let carve_out_tup_suffix = tup.0u32; |
27 |
| - | ^^^^ invalid suffix `u32` |
| 19 | +error: suffixes on a tuple index are invalid |
| 20 | + --> $DIR/tuple-index-suffix.rs:32:45 |
28 | 21 | |
|
29 |
| - = help: `u32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
30 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
31 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 22 | +LL | let previous_carve_out_tup_suffix = tup.0u32; |
| 23 | + | ^^^^ invalid suffix `u32` |
32 | 24 |
|
33 |
| -warning: suffixes on a tuple index are invalid |
34 |
| - --> $DIR/tuple-index-suffix.rs:43:31 |
35 |
| - | |
36 |
| -LL | let carve_out_i32 = (42,).0i32; |
37 |
| - | ^^^^ invalid suffix `i32` |
| 25 | +error: suffixes on a tuple index are invalid |
| 26 | + --> $DIR/tuple-index-suffix.rs:44:40 |
38 | 27 | |
|
39 |
| - = help: `i32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
40 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
41 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 28 | +LL | let previous_carve_out_i32 = (42,).0i32; |
| 29 | + | ^^^^ invalid suffix `i32` |
42 | 30 |
|
43 |
| -warning: suffixes on a tuple index are invalid |
44 |
| - --> $DIR/tuple-index-suffix.rs:44:31 |
45 |
| - | |
46 |
| -LL | let carve_out_i32 = (42,).0u32; |
47 |
| - | ^^^^ invalid suffix `u32` |
| 31 | +error: suffixes on a tuple index are invalid |
| 32 | + --> $DIR/tuple-index-suffix.rs:45:40 |
48 | 33 | |
|
49 |
| - = help: `u32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
50 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
51 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 34 | +LL | let previous_carve_out_i32 = (42,).0u32; |
| 35 | + | ^^^^ invalid suffix `u32` |
52 | 36 |
|
53 |
| -warning: suffixes on a tuple index are invalid |
54 |
| - --> $DIR/tuple-index-suffix.rs:45:33 |
55 |
| - | |
56 |
| -LL | let carve_out_isize = (42,).0isize; |
57 |
| - | ^^^^^^ invalid suffix `isize` |
| 37 | +error: suffixes on a tuple index are invalid |
| 38 | + --> $DIR/tuple-index-suffix.rs:46:42 |
58 | 39 | |
|
59 |
| - = help: `isize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
60 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
61 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 40 | +LL | let previous_carve_out_isize = (42,).0isize; |
| 41 | + | ^^^^^^ invalid suffix `isize` |
62 | 42 |
|
63 |
| -warning: suffixes on a tuple index are invalid |
64 |
| - --> $DIR/tuple-index-suffix.rs:46:33 |
65 |
| - | |
66 |
| -LL | let carve_out_usize = (42,).0usize; |
67 |
| - | ^^^^^^ invalid suffix `usize` |
| 43 | +error: suffixes on a tuple index are invalid |
| 44 | + --> $DIR/tuple-index-suffix.rs:47:42 |
68 | 45 | |
|
69 |
| - = help: `usize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
70 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
71 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
| 46 | +LL | let previous_carve_out_usize = (42,).0usize; |
| 47 | + | ^^^^^^ invalid suffix `usize` |
72 | 48 |
|
73 | 49 | error: suffixes on a tuple index are invalid
|
74 |
| - --> $DIR/tuple-index-suffix.rs:49:26 |
| 50 | + --> $DIR/tuple-index-suffix.rs:50:26 |
75 | 51 | |
|
76 | 52 | LL | let error_i8 = (42,).0i8;
|
77 | 53 | | ^^^ invalid suffix `i8`
|
78 | 54 |
|
79 | 55 | error: suffixes on a tuple index are invalid
|
80 |
| - --> $DIR/tuple-index-suffix.rs:50:26 |
| 56 | + --> $DIR/tuple-index-suffix.rs:51:26 |
81 | 57 | |
|
82 | 58 | LL | let error_u8 = (42,).0u8;
|
83 | 59 | | ^^^ invalid suffix `u8`
|
84 | 60 |
|
85 | 61 | error: suffixes on a tuple index are invalid
|
86 |
| - --> $DIR/tuple-index-suffix.rs:51:27 |
| 62 | + --> $DIR/tuple-index-suffix.rs:52:27 |
87 | 63 | |
|
88 | 64 | LL | let error_i16 = (42,).0i16;
|
89 | 65 | | ^^^^ invalid suffix `i16`
|
90 | 66 |
|
91 | 67 | error: suffixes on a tuple index are invalid
|
92 |
| - --> $DIR/tuple-index-suffix.rs:52:27 |
| 68 | + --> $DIR/tuple-index-suffix.rs:53:27 |
93 | 69 | |
|
94 | 70 | LL | let error_u16 = (42,).0u16;
|
95 | 71 | | ^^^^ invalid suffix `u16`
|
96 | 72 |
|
97 | 73 | error: suffixes on a tuple index are invalid
|
98 |
| - --> $DIR/tuple-index-suffix.rs:53:27 |
| 74 | + --> $DIR/tuple-index-suffix.rs:54:27 |
99 | 75 | |
|
100 | 76 | LL | let error_i64 = (42,).0i64;
|
101 | 77 | | ^^^^ invalid suffix `i64`
|
102 | 78 |
|
103 | 79 | error: suffixes on a tuple index are invalid
|
104 |
| - --> $DIR/tuple-index-suffix.rs:54:27 |
| 80 | + --> $DIR/tuple-index-suffix.rs:55:27 |
105 | 81 | |
|
106 | 82 | LL | let error_u64 = (42,).0u64;
|
107 | 83 | | ^^^^ invalid suffix `u64`
|
108 | 84 |
|
109 | 85 | error: suffixes on a tuple index are invalid
|
110 |
| - --> $DIR/tuple-index-suffix.rs:55:28 |
| 86 | + --> $DIR/tuple-index-suffix.rs:56:28 |
111 | 87 | |
|
112 | 88 | LL | let error_i128 = (42,).0i128;
|
113 | 89 | | ^^^^^ invalid suffix `i128`
|
114 | 90 |
|
115 | 91 | error: suffixes on a tuple index are invalid
|
116 |
| - --> $DIR/tuple-index-suffix.rs:56:28 |
| 92 | + --> $DIR/tuple-index-suffix.rs:57:28 |
117 | 93 | |
|
118 | 94 | LL | let error_u128 = (42,).0u128;
|
119 | 95 | | ^^^^^ invalid suffix `u128`
|
120 | 96 |
|
121 | 97 | error: suffixes on a tuple index are invalid
|
122 |
| - --> $DIR/tuple-index-suffix.rs:60:35 |
| 98 | + --> $DIR/tuple-index-suffix.rs:61:35 |
123 | 99 | |
|
124 | 100 | LL | let invalid_struct_name = X { 0suffix: 0, 1: 1, 2: 2 };
|
125 | 101 | | ^^^^^^^ invalid suffix `suffix`
|
126 | 102 |
|
127 | 103 | error: suffixes on a tuple index are invalid
|
128 |
| - --> $DIR/tuple-index-suffix.rs:63:13 |
| 104 | + --> $DIR/tuple-index-suffix.rs:64:13 |
129 | 105 | |
|
130 | 106 | LL | X { 0suffix: _, .. } => {}
|
131 | 107 | | ^^^^^^^ invalid suffix `suffix`
|
132 | 108 |
|
133 |
| -warning: suffixes on a tuple index are invalid |
134 |
| - --> $DIR/tuple-index-suffix.rs:69:37 |
| 109 | +error: suffixes on a tuple index are invalid |
| 110 | + --> $DIR/tuple-index-suffix.rs:70:37 |
135 | 111 | |
|
136 | 112 | LL | let carve_out_struct_name = X { 0u32: 0, 1: 1, 2: 2 };
|
137 | 113 | | ^^^^ invalid suffix `u32`
|
138 |
| - | |
139 |
| - = help: `u32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
140 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
141 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
142 | 114 |
|
143 |
| -warning: suffixes on a tuple index are invalid |
144 |
| - --> $DIR/tuple-index-suffix.rs:72:13 |
| 115 | +error: suffixes on a tuple index are invalid |
| 116 | + --> $DIR/tuple-index-suffix.rs:73:13 |
145 | 117 | |
|
146 | 118 | LL | X { 0u32: _, .. } => {}
|
147 | 119 | | ^^^^ invalid suffix `u32`
|
148 |
| - | |
149 |
| - = help: `u32` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
150 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
151 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
152 | 120 |
|
153 |
| -warning: suffixes on a tuple index are invalid |
154 |
| - --> $DIR/tuple-index-suffix.rs:83:50 |
| 121 | +error: suffixes on a tuple index are invalid |
| 122 | + --> $DIR/tuple-index-suffix.rs:84:50 |
155 | 123 | |
|
156 | 124 | LL | assert_eq!(std::mem::offset_of!(Struct<u32>, 0usize), 0);
|
157 | 125 | | ^^^^^^ invalid suffix `usize`
|
158 |
| - | |
159 |
| - = help: `usize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases |
160 |
| - = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access |
161 |
| - = help: see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information |
162 | 126 |
|
163 | 127 | error: suffixes on a tuple index are invalid
|
164 |
| - --> $DIR/tuple-index-suffix.rs:87:50 |
| 128 | + --> $DIR/tuple-index-suffix.rs:88:50 |
165 | 129 | |
|
166 | 130 | LL | assert_eq!(std::mem::offset_of!(Struct<u32>, 0u8), 0);
|
167 | 131 | | ^^^ invalid suffix `u8`
|
168 | 132 |
|
169 |
| -error: aborting due to 13 previous errors; 9 warnings emitted |
| 133 | +error: aborting due to 22 previous errors |
170 | 134 |
|
0 commit comments