fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0600]: cannot apply unary operator `-` to type `u8` 2 --> $DIR/enum-discrim-too-small.rs:5:11 3 | 4LL | Cu8 = -23, 5 | ^^^ cannot apply unary operator `-` 6 | 7 = note: unsigned values cannot be negated 8 9error[E0600]: cannot apply unary operator `-` to type `u16` 10 --> $DIR/enum-discrim-too-small.rs:13:12 11 | 12LL | Cu16 = -22333, 13 | ^^^^^^ cannot apply unary operator `-` 14 | 15 = note: unsigned values cannot be negated 16 17error[E0600]: cannot apply unary operator `-` to type `u32` 18 --> $DIR/enum-discrim-too-small.rs:21:12 19 | 20LL | Cu32 = -2_000_000_000, 21 | ^^^^^^^^^^^^^^ cannot apply unary operator `-` 22 | 23 = note: unsigned values cannot be negated 24 25error[E0600]: cannot apply unary operator `-` to type `u64` 26 --> $DIR/enum-discrim-too-small.rs:29:12 27 | 28LL | Cu32 = -2_000_000_000, 29 | ^^^^^^^^^^^^^^ cannot apply unary operator `-` 30 | 31 = note: unsigned values cannot be negated 32 33error: aborting due to 4 previous errors 34 35For more information about this error, try `rustc --explain E0600`.