Sign in
rust
/
rust
/
39a8f75d4cdfca40e35938a086a7cb4859a6c19d
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0768.md
blob: 24169ef512efb64283409449ceae4e7ad222af54 [
file
] [
log
] [
blame
] [
view
]
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!
```