fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0600]: cannot apply unary operator `-` to type `usize` 2 --> $DIR/feature-gate-negate-unsigned.rs:10:23 3 | 4LL | let _max: usize = -1; 5 | ^^ cannot apply unary operator `-` 6 | 7 = note: unsigned values cannot be negated 8 9error[E0600]: cannot apply unary operator `-` to type `u8` 10 --> $DIR/feature-gate-negate-unsigned.rs:14:14 11 | 12LL | let _y = -x; 13 | ^^ cannot apply unary operator `-` 14 | 15 = note: unsigned values cannot be negated 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0600`.