Error code E0516

The typeof keyword is currently reserved but unimplemented.

Erroneous code example:

fn main() {
    let x: typeof(92) = 92;
}
Run

Try using type inference instead. Example:

fn main() {
    let x = 92;
}
Run

Back to list of error codes