LL | #![warn(overflowing_literals)]
| ^^^^^^^^^^^^^^^^^^^^
= note: the literal `255i8` does not fit into the type `i8` whose range is `-128..=127`
+ = help: consider using `u8` instead
warning: literal out of range for i8
--> $DIR/type-overflow.rs:10:16
|
= note: the literal `0b1111_1111i8` (decimal `255`) does not fit into the type `i8` and will become `-1i8`
+warning: 7 warnings emitted
+