1 error[E0600]: cannot apply unary operator `-` to type `usize`
2 --> $DIR/feature-gate-negate-unsigned.rs:10:23
4 LL | let _max: usize = -1;
7 | cannot apply unary operator `-`
8 | help: you may have meant the maximum value of `usize`: `usize::MAX`
10 = note: unsigned values cannot be negated
12 error[E0600]: cannot apply unary operator `-` to type `u8`
13 --> $DIR/feature-gate-negate-unsigned.rs:14:14
16 | ^^ cannot apply unary operator `-`
18 = note: unsigned values cannot be negated
20 error: aborting due to 2 previous errors
22 For more information about this error, try `rustc --explain E0600`.