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