mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
13 lines
357 B
Plaintext
13 lines
357 B
Plaintext
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`
|
|
= help: consider using the type `u8` instead
|
|
= note: `#[deny(overflowing_literals)]` on by default
|
|
|
|
error: aborting due to previous error
|
|
|