2020-12-12 13:46:25 -08: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 21:42:32 -08:00
|
|
|
= help: consider using the type `u8` instead
|
2022-09-18 19:55:36 +04:00
|
|
|
= note: `#[deny(overflowing_literals)]` on by default
|
2020-12-12 13:46:25 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|