1 error[E0516]: `typeof` is a reserved keyword but unimplemented
2 --> $DIR/type_mismatch.rs:5:12
4 LL | let b: typeof(a) = 1i8;
5 | ^^^^^^^^^ reserved keyword
7 error[E0308]: mismatched types
8 --> $DIR/type_mismatch.rs:5:24
10 LL | let b: typeof(a) = 1i8;
11 | --------- ^^^ expected `u8`, found `i8`
13 | expected due to this
15 help: change the type of the numeric literal from `i8` to `u8`
17 LL | let b: typeof(a) = 1u8;
20 error: aborting due to 2 previous errors
22 Some errors have detailed explanations: E0308, E0516.
23 For more information about an error, try `rustc --explain E0308`.