1 error[E0308]: mismatched types
2 --> $DIR/discrim-ill-typed.rs:15:16
5 | ^^^^ expected `i8`, found `u8`
7 help: change the type of the numeric literal from `u8` to `i8`
12 error[E0308]: mismatched types
13 --> $DIR/discrim-ill-typed.rs:28:16
16 | ^^^^ expected `u8`, found `i8`
18 help: change the type of the numeric literal from `i8` to `u8`
23 error[E0308]: mismatched types
24 --> $DIR/discrim-ill-typed.rs:41:16
27 | ^^^^^ expected `i16`, found `u16`
29 help: change the type of the numeric literal from `u16` to `i16`
34 error[E0308]: mismatched types
35 --> $DIR/discrim-ill-typed.rs:54:16
38 | ^^^^^ expected `u16`, found `i16`
40 help: change the type of the numeric literal from `i16` to `u16`
45 error[E0308]: mismatched types
46 --> $DIR/discrim-ill-typed.rs:67:16
49 | ^^^^^ expected `i32`, found `u32`
51 help: change the type of the numeric literal from `u32` to `i32`
56 error[E0308]: mismatched types
57 --> $DIR/discrim-ill-typed.rs:80:16
60 | ^^^^^ expected `u32`, found `i32`
62 help: change the type of the numeric literal from `i32` to `u32`
67 error[E0308]: mismatched types
68 --> $DIR/discrim-ill-typed.rs:93:16
71 | ^^^^^ expected `i64`, found `u64`
73 help: change the type of the numeric literal from `u64` to `i64`
78 error[E0308]: mismatched types
79 --> $DIR/discrim-ill-typed.rs:106:16
82 | ^^^^^ expected `u64`, found `i64`
84 help: change the type of the numeric literal from `i64` to `u64`
89 error: aborting due to 8 previous errors
91 For more information about this error, try `rustc --explain E0308`.