|
1 | 1 | error: octal float literal is not supported
|
2 |
| - --> $DIR/lex-bad-numeric-literals.rs:2:5 |
| 2 | + --> $DIR/lex-bad-numeric-literals.rs:4:5 |
3 | 3 | |
|
4 | 4 | LL | 0o1.0;
|
5 | 5 | | ^^^^^
|
6 | 6 |
|
7 | 7 | error: octal float literal is not supported
|
8 |
| - --> $DIR/lex-bad-numeric-literals.rs:4:5 |
| 8 | + --> $DIR/lex-bad-numeric-literals.rs:6:5 |
9 | 9 | |
|
10 | 10 | LL | 0o3.0f32;
|
11 | 11 | | ^^^^^
|
12 | 12 |
|
13 | 13 | error: octal float literal is not supported
|
14 |
| - --> $DIR/lex-bad-numeric-literals.rs:5:5 |
| 14 | + --> $DIR/lex-bad-numeric-literals.rs:7:5 |
15 | 15 | |
|
16 | 16 | LL | 0o4e4;
|
17 | 17 | | ^^^^^
|
18 | 18 |
|
19 | 19 | error: octal float literal is not supported
|
20 |
| - --> $DIR/lex-bad-numeric-literals.rs:6:5 |
| 20 | + --> $DIR/lex-bad-numeric-literals.rs:8:5 |
21 | 21 | |
|
22 | 22 | LL | 0o5.0e5;
|
23 | 23 | | ^^^^^^^
|
24 | 24 |
|
25 | 25 | error: octal float literal is not supported
|
26 |
| - --> $DIR/lex-bad-numeric-literals.rs:7:5 |
| 26 | + --> $DIR/lex-bad-numeric-literals.rs:9:5 |
27 | 27 | |
|
28 | 28 | LL | 0o6e6f32;
|
29 | 29 | | ^^^^^
|
30 | 30 |
|
31 | 31 | error: octal float literal is not supported
|
32 |
| - --> $DIR/lex-bad-numeric-literals.rs:8:5 |
| 32 | + --> $DIR/lex-bad-numeric-literals.rs:10:5 |
33 | 33 | |
|
34 | 34 | LL | 0o7.0e7f64;
|
35 | 35 | | ^^^^^^^
|
36 | 36 |
|
37 | 37 | error: hexadecimal float literal is not supported
|
38 |
| - --> $DIR/lex-bad-numeric-literals.rs:9:5 |
| 38 | + --> $DIR/lex-bad-numeric-literals.rs:11:5 |
39 | 39 | |
|
40 | 40 | LL | 0x8.0e+9;
|
41 | 41 | | ^^^^^^^^
|
42 | 42 |
|
43 | 43 | error: hexadecimal float literal is not supported
|
44 |
| - --> $DIR/lex-bad-numeric-literals.rs:10:5 |
| 44 | + --> $DIR/lex-bad-numeric-literals.rs:12:5 |
45 | 45 | |
|
46 | 46 | LL | 0x9.0e-9;
|
47 | 47 | | ^^^^^^^^
|
48 | 48 |
|
49 | 49 | error[E0768]: no valid digits found for number
|
50 |
| - --> $DIR/lex-bad-numeric-literals.rs:11:5 |
| 50 | + --> $DIR/lex-bad-numeric-literals.rs:13:5 |
51 | 51 | |
|
52 | 52 | LL | 0o;
|
53 | 53 | | ^^
|
54 | 54 |
|
55 | 55 | error: expected at least one digit in exponent
|
56 |
| - --> $DIR/lex-bad-numeric-literals.rs:12:5 |
| 56 | + --> $DIR/lex-bad-numeric-literals.rs:14:5 |
57 | 57 | |
|
58 | 58 | LL | 1e+;
|
59 | 59 | | ^^^
|
60 | 60 |
|
61 | 61 | error: hexadecimal float literal is not supported
|
62 |
| - --> $DIR/lex-bad-numeric-literals.rs:13:5 |
| 62 | + --> $DIR/lex-bad-numeric-literals.rs:15:5 |
63 | 63 | |
|
64 | 64 | LL | 0x539.0;
|
65 | 65 | | ^^^^^^^
|
66 | 66 |
|
67 | 67 | error[E0768]: no valid digits found for number
|
68 |
| - --> $DIR/lex-bad-numeric-literals.rs:18:5 |
| 68 | + --> $DIR/lex-bad-numeric-literals.rs:26:5 |
69 | 69 | |
|
70 | 70 | LL | 0x;
|
71 | 71 | | ^^
|
72 | 72 |
|
73 | 73 | error[E0768]: no valid digits found for number
|
74 |
| - --> $DIR/lex-bad-numeric-literals.rs:19:5 |
| 74 | + --> $DIR/lex-bad-numeric-literals.rs:27:5 |
75 | 75 | |
|
76 | 76 | LL | 0xu32;
|
77 | 77 | | ^^
|
78 | 78 |
|
79 | 79 | error[E0768]: no valid digits found for number
|
80 |
| - --> $DIR/lex-bad-numeric-literals.rs:20:5 |
| 80 | + --> $DIR/lex-bad-numeric-literals.rs:28:5 |
81 | 81 | |
|
82 | 82 | LL | 0ou32;
|
83 | 83 | | ^^
|
84 | 84 |
|
85 | 85 | error[E0768]: no valid digits found for number
|
86 |
| - --> $DIR/lex-bad-numeric-literals.rs:21:5 |
| 86 | + --> $DIR/lex-bad-numeric-literals.rs:29:5 |
87 | 87 | |
|
88 | 88 | LL | 0bu32;
|
89 | 89 | | ^^
|
90 | 90 |
|
91 | 91 | error[E0768]: no valid digits found for number
|
92 |
| - --> $DIR/lex-bad-numeric-literals.rs:22:5 |
| 92 | + --> $DIR/lex-bad-numeric-literals.rs:30:5 |
93 | 93 | |
|
94 | 94 | LL | 0b;
|
95 | 95 | | ^^
|
96 | 96 |
|
97 | 97 | error: octal float literal is not supported
|
98 |
| - --> $DIR/lex-bad-numeric-literals.rs:24:5 |
| 98 | + --> $DIR/lex-bad-numeric-literals.rs:32:5 |
99 | 99 | |
|
100 | 100 | LL | 0o123.456;
|
101 | 101 | | ^^^^^^^^^
|
102 | 102 |
|
103 | 103 | error: binary float literal is not supported
|
104 |
| - --> $DIR/lex-bad-numeric-literals.rs:26:5 |
| 104 | + --> $DIR/lex-bad-numeric-literals.rs:34:5 |
105 | 105 | |
|
106 | 106 | LL | 0b111.101;
|
107 | 107 | | ^^^^^^^^^
|
108 | 108 |
|
109 | 109 | error: octal float literal is not supported
|
110 |
| - --> $DIR/lex-bad-numeric-literals.rs:3:5 |
| 110 | + --> $DIR/lex-bad-numeric-literals.rs:5:5 |
111 | 111 | |
|
112 | 112 | LL | 0o2f32;
|
113 | 113 | | ^^^^^^ not supported
|
114 | 114 |
|
115 | 115 | error: integer literal is too large
|
116 |
| - --> $DIR/lex-bad-numeric-literals.rs:14:5 |
| 116 | + --> $DIR/lex-bad-numeric-literals.rs:16:5 |
117 | 117 | |
|
118 | 118 | LL | 9900000000000000000000000000999999999999999999999999999999;
|
119 | 119 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 120 | + | |
| 121 | + = note: value exceeds limit of `340282366920938463463374607431768211455` |
120 | 122 |
|
121 | 123 | error: integer literal is too large
|
122 |
| - --> $DIR/lex-bad-numeric-literals.rs:16:5 |
| 124 | + --> $DIR/lex-bad-numeric-literals.rs:18:5 |
123 | 125 | |
|
124 | 126 | LL | 9900000000000000000000000000999999999999999999999999999999;
|
125 | 127 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 128 | + | |
| 129 | + = note: value exceeds limit of `340282366920938463463374607431768211455` |
| 130 | + |
| 131 | +error: integer literal is too large |
| 132 | + --> $DIR/lex-bad-numeric-literals.rs:20:5 |
| 133 | + | |
| 134 | +LL | 0b111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110; |
| 135 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 136 | + | |
| 137 | + = note: value exceeds limit of `0b11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111` |
| 138 | + |
| 139 | +error: integer literal is too large |
| 140 | + --> $DIR/lex-bad-numeric-literals.rs:22:5 |
| 141 | + | |
| 142 | +LL | 0o37777777777777777777777777777777777777777770; |
| 143 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 144 | + | |
| 145 | + = note: value exceeds limit of `0o3777777777777777777777777777777777777777777` |
| 146 | + |
| 147 | +error: integer literal is too large |
| 148 | + --> $DIR/lex-bad-numeric-literals.rs:24:5 |
| 149 | + | |
| 150 | +LL | 0xffffffffffffffffffffffffffffffff0; |
| 151 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 152 | + | |
| 153 | + = note: value exceeds limit of `0xffffffffffffffffffffffffffffffff` |
126 | 154 |
|
127 | 155 | error: octal float literal is not supported
|
128 |
| - --> $DIR/lex-bad-numeric-literals.rs:23:5 |
| 156 | + --> $DIR/lex-bad-numeric-literals.rs:31:5 |
129 | 157 | |
|
130 | 158 | LL | 0o123f64;
|
131 | 159 | | ^^^^^^^^ not supported
|
132 | 160 |
|
133 | 161 | error: binary float literal is not supported
|
134 |
| - --> $DIR/lex-bad-numeric-literals.rs:25:5 |
| 162 | + --> $DIR/lex-bad-numeric-literals.rs:33:5 |
135 | 163 | |
|
136 | 164 | LL | 0b101f64;
|
137 | 165 | | ^^^^^^^^ not supported
|
138 | 166 |
|
139 |
| -error: aborting due to 23 previous errors |
| 167 | +error: aborting due to 26 previous errors |
140 | 168 |
|
141 | 169 | For more information about this error, try `rustc --explain E0768`.
|
0 commit comments