]> git.proxmox.com Git - rustc.git/blame - tests/ui/parser/float-field.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / parser / float-field.stderr
CommitLineData
f035d41b
XL
1error: expected at least one digit in exponent
2 --> $DIR/float-field.rs:10:9
3 |
4LL | { s.1e+; }
5 | ^^^
6
7error: expected at least one digit in exponent
8 --> $DIR/float-field.rs:13:9
9 |
10LL | { s.1e-; }
11 | ^^^
12
13error: hexadecimal float literal is not supported
14 --> $DIR/float-field.rs:25:7
15 |
16LL | s.0x1.;
17 | ^^^^
18
19error: hexadecimal float literal is not supported
20 --> $DIR/float-field.rs:28:7
21 |
22LL | s.0x1.1;
23 | ^^^^^
24
25error: hexadecimal float literal is not supported
26 --> $DIR/float-field.rs:30:7
27 |
28LL | s.0x1.1e1;
29 | ^^^^^^^
30
31error: hexadecimal float literal is not supported
32 --> $DIR/float-field.rs:36:9
33 |
34LL | { s.0x1.1e+1; }
35 | ^^^^^^^^
36
37error: hexadecimal float literal is not supported
38 --> $DIR/float-field.rs:39:9
39 |
40LL | { s.0x1.1e-1; }
41 | ^^^^^^^^
42
43error: expected at least one digit in exponent
44 --> $DIR/float-field.rs:48:9
45 |
46LL | { s.1e+f32; }
47 | ^^^^^^
48
49error: expected at least one digit in exponent
50 --> $DIR/float-field.rs:51:9
51 |
52LL | { s.1e-f32; }
53 | ^^^^^^
54
55error: unexpected token: `;`
56 --> $DIR/float-field.rs:7:9
57 |
58LL | s.1.;
59 | ^
60
61error: unexpected token: `1e+`
62 --> $DIR/float-field.rs:10:9
63 |
64LL | { s.1e+; }
65 | ^^^
66
67error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+`
68 --> $DIR/float-field.rs:10:9
69 |
70LL | { s.1e+; }
71 | ^^^ expected one of `.`, `;`, `?`, `}`, or an operator
72
73error: unexpected token: `1e-`
74 --> $DIR/float-field.rs:13:9
75 |
76LL | { s.1e-; }
77 | ^^^
78
79error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-`
80 --> $DIR/float-field.rs:13:9
81 |
82LL | { s.1e-; }
83 | ^^^ expected one of `.`, `;`, `?`, `}`, or an operator
84
85error: unexpected token: `1e+1`
86 --> $DIR/float-field.rs:16:9
87 |
88LL | { s.1e+1; }
89 | ^^^^
90
91error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+1`
92 --> $DIR/float-field.rs:16:9
93 |
94LL | { s.1e+1; }
95 | ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
96
97error: unexpected token: `1e-1`
98 --> $DIR/float-field.rs:18:9
99 |
100LL | { s.1e-1; }
101 | ^^^^
102
103error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-1`
104 --> $DIR/float-field.rs:18:9
105 |
106LL | { s.1e-1; }
107 | ^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
108
109error: unexpected token: `1.1e+1`
110 --> $DIR/float-field.rs:20:9
111 |
112LL | { s.1.1e+1; }
113 | ^^^^^^
114
115error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e+1`
116 --> $DIR/float-field.rs:20:9
117 |
118LL | { s.1.1e+1; }
119 | ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
120
121error: unexpected token: `1.1e-1`
122 --> $DIR/float-field.rs:22:9
123 |
124LL | { s.1.1e-1; }
125 | ^^^^^^
126
127error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e-1`
128 --> $DIR/float-field.rs:22:9
129 |
130LL | { s.1.1e-1; }
131 | ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
132
133error: unexpected token: `;`
134 --> $DIR/float-field.rs:25:11
135 |
136LL | s.0x1.;
137 | ^
138
139error: expected expression, found `;`
140 --> $DIR/float-field.rs:32:14
141 |
142LL | { s.0x1e+; }
143 | ^ expected expression
144
145error: expected expression, found `;`
146 --> $DIR/float-field.rs:33:14
147 |
148LL | { s.0x1e-; }
149 | ^ expected expression
150
151error: unexpected token: `0x1.1e+1`
152 --> $DIR/float-field.rs:36:9
153 |
154LL | { s.0x1.1e+1; }
155 | ^^^^^^^^
156
157error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e+1`
158 --> $DIR/float-field.rs:36:9
159 |
160LL | { s.0x1.1e+1; }
161 | ^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
162
163error: unexpected token: `0x1.1e-1`
164 --> $DIR/float-field.rs:39:9
165 |
166LL | { s.0x1.1e-1; }
167 | ^^^^^^^^
168
169error: expected one of `.`, `;`, `?`, `}`, or an operator, found `0x1.1e-1`
170 --> $DIR/float-field.rs:39:9
171 |
172LL | { s.0x1.1e-1; }
173 | ^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
174
175error: suffixes on a tuple index are invalid
176 --> $DIR/float-field.rs:42:7
177 |
178LL | s.1e1f32;
179 | ^^^^^^ invalid suffix `f32`
180
181error: suffixes on a tuple index are invalid
182 --> $DIR/float-field.rs:45:7
183 |
184LL | s.1.1f32;
185 | ^^^^^^ invalid suffix `f32`
186
187error: suffixes on a tuple index are invalid
188 --> $DIR/float-field.rs:46:7
189 |
190LL | s.1.1e1f32;
191 | ^^^^^^^^ invalid suffix `f32`
192
193error: unexpected token: `1e+f32`
194 --> $DIR/float-field.rs:48:9
195 |
196LL | { s.1e+f32; }
197 | ^^^^^^
198
199error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+f32`
200 --> $DIR/float-field.rs:48:9
201 |
202LL | { s.1e+f32; }
203 | ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
204
205error: unexpected token: `1e-f32`
206 --> $DIR/float-field.rs:51:9
207 |
208LL | { s.1e-f32; }
209 | ^^^^^^
210
211error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-f32`
212 --> $DIR/float-field.rs:51:9
213 |
214LL | { s.1e-f32; }
215 | ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
216
217error: unexpected token: `1e+1f32`
218 --> $DIR/float-field.rs:54:9
219 |
220LL | { s.1e+1f32; }
221 | ^^^^^^^
222
223error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e+1f32`
224 --> $DIR/float-field.rs:54:9
225 |
226LL | { s.1e+1f32; }
227 | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
228
229error: unexpected token: `1e-1f32`
230 --> $DIR/float-field.rs:56:9
231 |
232LL | { s.1e-1f32; }
233 | ^^^^^^^
234
235error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1e-1f32`
236 --> $DIR/float-field.rs:56:9
237 |
238LL | { s.1e-1f32; }
239 | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
240
241error: unexpected token: `1.1e+1f32`
242 --> $DIR/float-field.rs:58:9
243 |
244LL | { s.1.1e+1f32; }
245 | ^^^^^^^^^
246
247error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e+1f32`
248 --> $DIR/float-field.rs:58:9
249 |
250LL | { s.1.1e+1f32; }
251 | ^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
252
253error: unexpected token: `1.1e-1f32`
254 --> $DIR/float-field.rs:60:9
255 |
256LL | { s.1.1e-1f32; }
257 | ^^^^^^^^^
258
259error: expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1e-1f32`
260 --> $DIR/float-field.rs:60:9
261 |
262LL | { s.1.1e-1f32; }
263 | ^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
264
265error[E0609]: no field `1e1` on type `S`
266 --> $DIR/float-field.rs:6:7
267 |
268LL | s.1e1;
269 | ^^^ unknown field
270 |
271 = note: available fields are: `0`, `1`
272
273error[E0609]: no field `1e1` on type `(u8, u8)`
1b1a35ee 274 --> $DIR/float-field.rs:9:9
f035d41b
XL
275 |
276LL | s.1.1e1;
4b012472 277 | ^^^ unknown field
f035d41b
XL
278
279error[E0609]: no field `0x1e1` on type `S`
280 --> $DIR/float-field.rs:24:7
281 |
282LL | s.0x1e1;
283 | ^^^^^ unknown field
284 |
285 = note: available fields are: `0`, `1`
286
287error[E0609]: no field `0x1` on type `S`
288 --> $DIR/float-field.rs:25:7
289 |
290LL | s.0x1.;
1b1a35ee 291 | ^^^ unknown field
f035d41b
XL
292 |
293 = note: available fields are: `0`, `1`
294
295error[E0609]: no field `0x1` on type `S`
296 --> $DIR/float-field.rs:28:7
297 |
298LL | s.0x1.1;
1b1a35ee 299 | ^^^ unknown field
f035d41b
XL
300 |
301 = note: available fields are: `0`, `1`
302
303error[E0609]: no field `0x1` on type `S`
304 --> $DIR/float-field.rs:30:7
305 |
306LL | s.0x1.1e1;
1b1a35ee 307 | ^^^ unknown field
f035d41b
XL
308 |
309 = note: available fields are: `0`, `1`
310
311error[E0609]: no field `0x1e` on type `S`
312 --> $DIR/float-field.rs:34:7
313 |
314LL | s.0x1e+1;
315 | ^^^^ unknown field
316 |
317 = note: available fields are: `0`, `1`
318
319error[E0609]: no field `0x1e` on type `S`
320 --> $DIR/float-field.rs:35:7
321 |
322LL | s.0x1e-1;
323 | ^^^^ unknown field
324 |
325 = note: available fields are: `0`, `1`
326
327error[E0609]: no field `1e1` on type `S`
328 --> $DIR/float-field.rs:42:7
329 |
330LL | s.1e1f32;
331 | ^^^^^^ unknown field
332 |
333 = note: available fields are: `0`, `1`
334
335error[E0609]: no field `f32` on type `(u8, u8)`
336 --> $DIR/float-field.rs:44:9
337 |
338LL | s.1.f32;
4b012472 339 | ^^^ unknown field
f035d41b
XL
340
341error[E0609]: no field `1e1` on type `(u8, u8)`
342 --> $DIR/float-field.rs:46:7
343 |
344LL | s.1.1e1f32;
4b012472 345 | ^^^^^^^^ unknown field
f035d41b
XL
346
347error: aborting due to 55 previous errors
348
349For more information about this error, try `rustc --explain E0609`.