@@ -3,88 +3,48 @@ error[E0308]: mismatched types
33 |
44LL | OhNo = 0_u8,
55 | ^^^^ expected `i8`, found `u8`
6- |
7- help: change the type of the numeric literal from `u8` to `i8`
8- |
9- LL | OhNo = 0_i8,
10- | ^^^^
116
127error[E0308]: mismatched types
138 --> $DIR/discrim-ill-typed.rs:30:16
149 |
1510LL | OhNo = 0_i8,
1611 | ^^^^ expected `u8`, found `i8`
17- |
18- help: change the type of the numeric literal from `i8` to `u8`
19- |
20- LL | OhNo = 0_u8,
21- | ^^^^
2212
2313error[E0308]: mismatched types
2414 --> $DIR/discrim-ill-typed.rs:43:16
2515 |
2616LL | OhNo = 0_u16,
2717 | ^^^^^ expected `i16`, found `u16`
28- |
29- help: change the type of the numeric literal from `u16` to `i16`
30- |
31- LL | OhNo = 0_i16,
32- | ^^^^^
3318
3419error[E0308]: mismatched types
3520 --> $DIR/discrim-ill-typed.rs:56:16
3621 |
3722LL | OhNo = 0_i16,
3823 | ^^^^^ expected `u16`, found `i16`
39- |
40- help: change the type of the numeric literal from `i16` to `u16`
41- |
42- LL | OhNo = 0_u16,
43- | ^^^^^
4424
4525error[E0308]: mismatched types
4626 --> $DIR/discrim-ill-typed.rs:69:16
4727 |
4828LL | OhNo = 0_u32,
4929 | ^^^^^ expected `i32`, found `u32`
50- |
51- help: change the type of the numeric literal from `u32` to `i32`
52- |
53- LL | OhNo = 0_i32,
54- | ^^^^^
5530
5631error[E0308]: mismatched types
5732 --> $DIR/discrim-ill-typed.rs:82:16
5833 |
5934LL | OhNo = 0_i32,
6035 | ^^^^^ expected `u32`, found `i32`
61- |
62- help: change the type of the numeric literal from `i32` to `u32`
63- |
64- LL | OhNo = 0_u32,
65- | ^^^^^
6636
6737error[E0308]: mismatched types
6838 --> $DIR/discrim-ill-typed.rs:95:16
6939 |
7040LL | OhNo = 0_u64,
7141 | ^^^^^ expected `i64`, found `u64`
72- |
73- help: change the type of the numeric literal from `u64` to `i64`
74- |
75- LL | OhNo = 0_i64,
76- | ^^^^^
7742
7843error[E0308]: mismatched types
7944 --> $DIR/discrim-ill-typed.rs:108:16
8045 |
8146LL | OhNo = 0_i64,
8247 | ^^^^^ expected `u64`, found `i64`
83- |
84- help: change the type of the numeric literal from `i64` to `u64`
85- |
86- LL | OhNo = 0_u64,
87- | ^^^^^
8848
8949error: aborting due to 8 previous errors
9050
0 commit comments