Error code E0768

A number in a non-decimal base has no digits.

Erroneous code example:

let s: i32 = 0b; // error!
Run

To fix this error, add the missing digits:

let s: i32 = 0b1; // ok!
Run

Back to list of error codes