mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
359 B
Plaintext
13 lines
359 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 1 previous error
|
|
|