fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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