2020-12-12 15:46:25 -06:00
|
|
|
error: literal out of range for `i8`
|
|
|
|
--> $DIR/issue-79744.rs:3:14
|
|
|
|
|
|
|
|
|
LL | let e2 = 230;
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= note: the literal `230` does not fit into the type `i8` whose range is `-128..=127`
|
2021-02-13 23:42:32 -06:00
|
|
|
= help: consider using the type `u8` instead
|
2022-09-18 10:55:36 -05:00
|
|
|
= note: `#[deny(overflowing_literals)]` on by default
|
2020-12-12 15:46:25 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|