1 error[E0308]: mismatched types
2 --> $DIR/numeric-literal-cast.rs:6:9
5 | ^^^ expected `u16`, found `u8`
7 help: change the type of the numeric literal from `u8` to `u16`
12 error[E0308]: mismatched types
13 --> $DIR/numeric-literal-cast.rs:8:10
16 | ^^^^ expected `f64`, found `f32`
18 help: change the type of the numeric literal from `f32` to `f64`
23 error[E0308]: mismatched types
24 --> $DIR/numeric-literal-cast.rs:10:10
27 | ^^^^ expected `i32`, found `i16`
29 help: change the type of the numeric literal from `i16` to `i32`
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0308`.