blob: 24169ef512efb64283409449ceae4e7ad222af54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
A number in a non-decimal base has no digits.
Erroneous code example:
```compile_fail,E0768
let s: i32 = 0b; // error!
```
To fix this error, add the missing digits:
```
let s: i32 = 0b1; // ok!
```
|