1 error[E0308]: mismatched types
2 --> $DIR/discrim-ill-typed.rs:17: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:30: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:43: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:56: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:69: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:82: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:95: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:108: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`.