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