@@ -46,7 +46,7 @@ error: hexadecimal float literal is not supported
46
46
LL | 0x9.0e-9;
47
47
| ^^^^^^^^
48
48
49
- error: no valid digits found for number
49
+ error[E0768] : no valid digits found for number
50
50
--> $DIR/lex-bad-numeric-literals.rs:11:5
51
51
|
52
52
LL | 0o;
@@ -64,31 +64,31 @@ error: hexadecimal float literal is not supported
64
64
LL | 0x539.0;
65
65
| ^^^^^^^
66
66
67
- error: no valid digits found for number
67
+ error[E0768] : no valid digits found for number
68
68
--> $DIR/lex-bad-numeric-literals.rs:18:5
69
69
|
70
70
LL | 0x;
71
71
| ^^
72
72
73
- error: no valid digits found for number
73
+ error[E0768] : no valid digits found for number
74
74
--> $DIR/lex-bad-numeric-literals.rs:19:5
75
75
|
76
76
LL | 0xu32;
77
77
| ^^
78
78
79
- error: no valid digits found for number
79
+ error[E0768] : no valid digits found for number
80
80
--> $DIR/lex-bad-numeric-literals.rs:20:5
81
81
|
82
82
LL | 0ou32;
83
83
| ^^
84
84
85
- error: no valid digits found for number
85
+ error[E0768] : no valid digits found for number
86
86
--> $DIR/lex-bad-numeric-literals.rs:21:5
87
87
|
88
88
LL | 0bu32;
89
89
| ^^
90
90
91
- error: no valid digits found for number
91
+ error[E0768] : no valid digits found for number
92
92
--> $DIR/lex-bad-numeric-literals.rs:22:5
93
93
|
94
94
LL | 0b;
@@ -138,3 +138,4 @@ LL | 0b101f64;
138
138
139
139
error: aborting due to 23 previous errors
140
140
141
+ For more information about this error, try `rustc --explain E0768`.
0 commit comments