]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-numeric-literals.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / lex-bad-numeric-literals.stderr
1 error: octal float literal is not supported
2   --> $DIR/lex-bad-numeric-literals.rs:2:5
3    |
4 LL |     0o1.0;
5    |     ^^^^^
6
7 error: octal float literal is not supported
8   --> $DIR/lex-bad-numeric-literals.rs:4:5
9    |
10 LL |     0o3.0f32;
11    |     ^^^^^
12
13 error: octal float literal is not supported
14   --> $DIR/lex-bad-numeric-literals.rs:5:5
15    |
16 LL |     0o4e4;
17    |     ^^^^^
18
19 error: octal float literal is not supported
20   --> $DIR/lex-bad-numeric-literals.rs:6:5
21    |
22 LL |     0o5.0e5;
23    |     ^^^^^^^
24
25 error: octal float literal is not supported
26   --> $DIR/lex-bad-numeric-literals.rs:7:5
27    |
28 LL |     0o6e6f32;
29    |     ^^^^^
30
31 error: octal float literal is not supported
32   --> $DIR/lex-bad-numeric-literals.rs:8:5
33    |
34 LL |     0o7.0e7f64;
35    |     ^^^^^^^
36
37 error: hexadecimal float literal is not supported
38   --> $DIR/lex-bad-numeric-literals.rs:9:5
39    |
40 LL |     0x8.0e+9;
41    |     ^^^^^^^^
42
43 error: hexadecimal float literal is not supported
44   --> $DIR/lex-bad-numeric-literals.rs:10:5
45    |
46 LL |     0x9.0e-9;
47    |     ^^^^^^^^
48
49 error: no valid digits found for number
50   --> $DIR/lex-bad-numeric-literals.rs:11:5
51    |
52 LL |     0o;
53    |     ^^
54
55 error: expected at least one digit in exponent
56   --> $DIR/lex-bad-numeric-literals.rs:12:5
57    |
58 LL |     1e+;
59    |     ^^^
60
61 error: hexadecimal float literal is not supported
62   --> $DIR/lex-bad-numeric-literals.rs:13:5
63    |
64 LL |     0x539.0;
65    |     ^^^^^^^
66
67 error: no valid digits found for number
68   --> $DIR/lex-bad-numeric-literals.rs:18:5
69    |
70 LL |     0x;
71    |     ^^
72
73 error: no valid digits found for number
74   --> $DIR/lex-bad-numeric-literals.rs:19:5
75    |
76 LL |     0xu32;
77    |     ^^
78
79 error: no valid digits found for number
80   --> $DIR/lex-bad-numeric-literals.rs:20:5
81    |
82 LL |     0ou32;
83    |     ^^
84
85 error: no valid digits found for number
86   --> $DIR/lex-bad-numeric-literals.rs:21:5
87    |
88 LL |     0bu32;
89    |     ^^
90
91 error: no valid digits found for number
92   --> $DIR/lex-bad-numeric-literals.rs:22:5
93    |
94 LL |     0b;
95    |     ^^
96
97 error: octal float literal is not supported
98   --> $DIR/lex-bad-numeric-literals.rs:24:5
99    |
100 LL |     0o123.456;
101    |     ^^^^^^^^^
102
103 error: binary float literal is not supported
104   --> $DIR/lex-bad-numeric-literals.rs:26:5
105    |
106 LL |     0b111.101;
107    |     ^^^^^^^^^
108
109 error: octal float literal is not supported
110   --> $DIR/lex-bad-numeric-literals.rs:3:5
111    |
112 LL |     0o2f32;
113    |     ^^^^^^ not supported
114
115 error: integer literal is too large
116   --> $DIR/lex-bad-numeric-literals.rs:14:5
117    |
118 LL |     9900000000000000000000000000999999999999999999999999999999;
119    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
121 error: integer literal is too large
122   --> $DIR/lex-bad-numeric-literals.rs:16:5
123    |
124 LL |     9900000000000000000000000000999999999999999999999999999999;
125    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
127 error: octal float literal is not supported
128   --> $DIR/lex-bad-numeric-literals.rs:23:5
129    |
130 LL |     0o123f64;
131    |     ^^^^^^^^ not supported
132
133 error: binary float literal is not supported
134   --> $DIR/lex-bad-numeric-literals.rs:25:5
135    |
136 LL |     0b101f64;
137    |     ^^^^^^^^ not supported
138
139 error: aborting due to 23 previous errors
140