6 //~^ ERROR cannot apply unary operator `-` to type `u8`
14 //~^ ERROR cannot apply unary operator `-` to type `u16`
21 Cu32 = -2_000_000_000,
22 //~^ ERROR cannot apply unary operator `-` to type `u32`
29 Cu32 = -2_000_000_000,
30 //~^ ERROR cannot apply unary operator `-` to type `u64`
33 // u64 currently allows negative numbers, and i64 allows numbers greater than `1<<63`. This is a
34 // little counterintuitive, but since the discriminant can store all the bits, and extracting it
35 // with a cast requires specifying the signedness, there is no loss of information in those cases.
36 // This also applies to isize and usize on 64-bit targets.