@@ -23,31 +23,31 @@ LL | { s.0x1.1; }
23
23
| ^^^^^
24
24
25
25
error: hexadecimal float literal is not supported
26
- --> $DIR/float-field.rs:43 :9
26
+ --> $DIR/float-field.rs:44 :9
27
27
|
28
28
LL | { s.0x1.1e1; }
29
29
| ^^^^^^^
30
30
31
31
error: hexadecimal float literal is not supported
32
- --> $DIR/float-field.rs:54 :9
32
+ --> $DIR/float-field.rs:56 :9
33
33
|
34
34
LL | { s.0x1.1e+1; }
35
35
| ^^^^^^^^
36
36
37
37
error: hexadecimal float literal is not supported
38
- --> $DIR/float-field.rs:58 :9
38
+ --> $DIR/float-field.rs:60 :9
39
39
|
40
40
LL | { s.0x1.1e-1; }
41
41
| ^^^^^^^^
42
42
43
43
error: expected at least one digit in exponent
44
- --> $DIR/float-field.rs:72 :9
44
+ --> $DIR/float-field.rs:74 :9
45
45
|
46
46
LL | { s.1e+f32; }
47
47
| ^^^^^^
48
48
49
49
error: expected at least one digit in exponent
50
- --> $DIR/float-field.rs:76 :9
50
+ --> $DIR/float-field.rs:78 :9
51
51
|
52
52
LL | { s.1e-f32; }
53
53
| ^^^^^^
@@ -130,134 +130,164 @@ error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e-1`
130
130
LL | { s.1.1e-1; }
131
131
| ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
132
132
133
- error: unexpected token: `;`
134
- --> $DIR/float-field.rs:36:13
133
+ error: unexpected token: `0x1.`
134
+ --> $DIR/float-field.rs:36:9
135
+ |
136
+ LL | { s.0x1.; }
137
+ | ^^^^
138
+
139
+ error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.`
140
+ --> $DIR/float-field.rs:36:9
135
141
|
136
142
LL | { s.0x1.; }
137
- | ^
143
+ | ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
144
+
145
+ error: unexpected token: `0x1.1`
146
+ --> $DIR/float-field.rs:40:9
147
+ |
148
+ LL | { s.0x1.1; }
149
+ | ^^^^^
150
+
151
+ error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1`
152
+ --> $DIR/float-field.rs:40:9
153
+ |
154
+ LL | { s.0x1.1; }
155
+ | ^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
156
+
157
+ error: unexpected token: `0x1.1e1`
158
+ --> $DIR/float-field.rs:44:9
159
+ |
160
+ LL | { s.0x1.1e1; }
161
+ | ^^^^^^^
162
+
163
+ error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e1`
164
+ --> $DIR/float-field.rs:44:9
165
+ |
166
+ LL | { s.0x1.1e1; }
167
+ | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
138
168
139
169
error: expected expression, found `;`
140
- --> $DIR/float-field.rs:46 :14
170
+ --> $DIR/float-field.rs:48 :14
141
171
|
142
172
LL | { s.0x1e+; }
143
173
| ^ expected expression
144
174
145
175
error: expected expression, found `;`
146
- --> $DIR/float-field.rs:48 :14
176
+ --> $DIR/float-field.rs:50 :14
147
177
|
148
178
LL | { s.0x1e-; }
149
179
| ^ expected expression
150
180
151
181
error: unexpected token: `0x1.1e+1`
152
- --> $DIR/float-field.rs:54 :9
182
+ --> $DIR/float-field.rs:56 :9
153
183
|
154
184
LL | { s.0x1.1e+1; }
155
185
| ^^^^^^^^
156
186
157
187
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e+1`
158
- --> $DIR/float-field.rs:54 :9
188
+ --> $DIR/float-field.rs:56 :9
159
189
|
160
190
LL | { s.0x1.1e+1; }
161
191
| ^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
162
192
163
193
error: unexpected token: `0x1.1e-1`
164
- --> $DIR/float-field.rs:58 :9
194
+ --> $DIR/float-field.rs:60 :9
165
195
|
166
196
LL | { s.0x1.1e-1; }
167
197
| ^^^^^^^^
168
198
169
199
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e-1`
170
- --> $DIR/float-field.rs:58 :9
200
+ --> $DIR/float-field.rs:60 :9
171
201
|
172
202
LL | { s.0x1.1e-1; }
173
203
| ^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
174
204
175
205
error: suffixes on a tuple index are invalid
176
- --> $DIR/float-field.rs:62 :9
206
+ --> $DIR/float-field.rs:64 :9
177
207
|
178
208
LL | { s.1e1f32; }
179
209
| ^^^^^^ invalid suffix `f32`
180
210
181
211
error: suffixes on a tuple index are invalid
182
- --> $DIR/float-field.rs:67 :9
212
+ --> $DIR/float-field.rs:69 :9
183
213
|
184
214
LL | { s.1.1f32; }
185
215
| ^^^^^^ invalid suffix `f32`
186
216
187
217
error: suffixes on a tuple index are invalid
188
- --> $DIR/float-field.rs:69 :9
218
+ --> $DIR/float-field.rs:71 :9
189
219
|
190
220
LL | { s.1.1e1f32; }
191
221
| ^^^^^^^^ invalid suffix `f32`
192
222
193
223
error: unexpected token: `1e+f32`
194
- --> $DIR/float-field.rs:72 :9
224
+ --> $DIR/float-field.rs:74 :9
195
225
|
196
226
LL | { s.1e+f32; }
197
227
| ^^^^^^
198
228
199
229
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+f32`
200
- --> $DIR/float-field.rs:72 :9
230
+ --> $DIR/float-field.rs:74 :9
201
231
|
202
232
LL | { s.1e+f32; }
203
233
| ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
204
234
205
235
error: unexpected token: `1e-f32`
206
- --> $DIR/float-field.rs:76 :9
236
+ --> $DIR/float-field.rs:78 :9
207
237
|
208
238
LL | { s.1e-f32; }
209
239
| ^^^^^^
210
240
211
241
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-f32`
212
- --> $DIR/float-field.rs:76 :9
242
+ --> $DIR/float-field.rs:78 :9
213
243
|
214
244
LL | { s.1e-f32; }
215
245
| ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
216
246
217
247
error: unexpected token: `1e+1f32`
218
- --> $DIR/float-field.rs:80 :9
248
+ --> $DIR/float-field.rs:82 :9
219
249
|
220
250
LL | { s.1e+1f32; }
221
251
| ^^^^^^^
222
252
223
253
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+1f32`
224
- --> $DIR/float-field.rs:80 :9
254
+ --> $DIR/float-field.rs:82 :9
225
255
|
226
256
LL | { s.1e+1f32; }
227
257
| ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
228
258
229
259
error: unexpected token: `1e-1f32`
230
- --> $DIR/float-field.rs:83 :9
260
+ --> $DIR/float-field.rs:85 :9
231
261
|
232
262
LL | { s.1e-1f32; }
233
263
| ^^^^^^^
234
264
235
265
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-1f32`
236
- --> $DIR/float-field.rs:83 :9
266
+ --> $DIR/float-field.rs:85 :9
237
267
|
238
268
LL | { s.1e-1f32; }
239
269
| ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
240
270
241
271
error: unexpected token: `1.1e+1f32`
242
- --> $DIR/float-field.rs:86 :9
272
+ --> $DIR/float-field.rs:88 :9
243
273
|
244
274
LL | { s.1.1e+1f32; }
245
275
| ^^^^^^^^^
246
276
247
277
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e+1f32`
248
- --> $DIR/float-field.rs:86 :9
278
+ --> $DIR/float-field.rs:88 :9
249
279
|
250
280
LL | { s.1.1e+1f32; }
251
281
| ^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
252
282
253
283
error: unexpected token: `1.1e-1f32`
254
- --> $DIR/float-field.rs:89 :9
284
+ --> $DIR/float-field.rs:91 :9
255
285
|
256
286
LL | { s.1.1e-1f32; }
257
287
| ^^^^^^^^^
258
288
259
289
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e-1f32`
260
- --> $DIR/float-field.rs:89 :9
290
+ --> $DIR/float-field.rs:91 :9
261
291
|
262
292
LL | { s.1.1e-1f32; }
263
293
| ^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
@@ -284,66 +314,42 @@ LL | { s.0x1e1; }
284
314
|
285
315
= note: available fields are: `0`, `1`
286
316
287
- error[E0609]: no field `0x1` on type `S`
288
- --> $DIR/float-field.rs:36:9
289
- |
290
- LL | { s.0x1.; }
291
- | ^^^ unknown field
292
- |
293
- = note: available fields are: `0`, `1`
294
-
295
- error[E0609]: no field `0x1` on type `S`
296
- --> $DIR/float-field.rs:40:9
297
- |
298
- LL | { s.0x1.1; }
299
- | ^^^ unknown field
300
- |
301
- = note: available fields are: `0`, `1`
302
-
303
- error[E0609]: no field `0x1` on type `S`
304
- --> $DIR/float-field.rs:43:9
305
- |
306
- LL | { s.0x1.1e1; }
307
- | ^^^ unknown field
308
- |
309
- = note: available fields are: `0`, `1`
310
-
311
317
error[E0609]: no field `0x1e` on type `S`
312
- --> $DIR/float-field.rs:50 :9
318
+ --> $DIR/float-field.rs:52 :9
313
319
|
314
320
LL | { s.0x1e+1; }
315
321
| ^^^^ unknown field
316
322
|
317
323
= note: available fields are: `0`, `1`
318
324
319
325
error[E0609]: no field `0x1e` on type `S`
320
- --> $DIR/float-field.rs:52 :9
326
+ --> $DIR/float-field.rs:54 :9
321
327
|
322
328
LL | { s.0x1e-1; }
323
329
| ^^^^ unknown field
324
330
|
325
331
= note: available fields are: `0`, `1`
326
332
327
333
error[E0609]: no field `1e1` on type `S`
328
- --> $DIR/float-field.rs:62 :9
334
+ --> $DIR/float-field.rs:64 :9
329
335
|
330
336
LL | { s.1e1f32; }
331
337
| ^^^^^^ unknown field
332
338
|
333
339
= note: available fields are: `0`, `1`
334
340
335
341
error[E0609]: no field `f32` on type `(u8, u8)`
336
- --> $DIR/float-field.rs:65 :11
342
+ --> $DIR/float-field.rs:67 :11
337
343
|
338
344
LL | { s.1.f32; }
339
345
| ^^^ unknown field
340
346
341
347
error[E0609]: no field `1e1` on type `(u8, u8)`
342
- --> $DIR/float-field.rs:69 :9
348
+ --> $DIR/float-field.rs:71 :9
343
349
|
344
350
LL | { s.1.1e1f32; }
345
351
| ^^^^^^^^ unknown field
346
352
347
- error: aborting due to 55 previous errors
353
+ error: aborting due to 57 previous errors
348
354
349
355
For more information about this error, try `rustc --explain E0609`.
0 commit comments