1 error[E0600]: cannot apply unary operator `-` to type `u8`
2 --> $DIR/enum-discrim-too-small.rs:5:11
5 | ^^^ cannot apply unary operator `-`
7 = note: unsigned values cannot be negated
9 error[E0600]: cannot apply unary operator `-` to type `u16`
10 --> $DIR/enum-discrim-too-small.rs:13:12
13 | ^^^^^^ cannot apply unary operator `-`
15 = note: unsigned values cannot be negated
17 error[E0600]: cannot apply unary operator `-` to type `u32`
18 --> $DIR/enum-discrim-too-small.rs:21:12
20 LL | Cu32 = -2_000_000_000,
21 | ^^^^^^^^^^^^^^ cannot apply unary operator `-`
23 = note: unsigned values cannot be negated
25 error[E0600]: cannot apply unary operator `-` to type `u64`
26 --> $DIR/enum-discrim-too-small.rs:29:12
28 LL | Cu32 = -2_000_000_000,
29 | ^^^^^^^^^^^^^^ cannot apply unary operator `-`
31 = note: unsigned values cannot be negated
33 error: aborting due to 4 previous errors
35 For more information about this error, try `rustc --explain E0600`.