mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
327 B
Plaintext
12 lines
327 B
Plaintext
error: literal out of range for `u16`
|
|
--> $DIR/issue-63364.rs:6:14
|
|
|
|
|
LL | for n in 100_000.. {
|
|
| ^^^^^^^
|
|
|
|
|
= note: the literal `100_000` does not fit into the type `u16` whose range is `0..=65535`
|
|
= note: `#[deny(overflowing_literals)]` on by default
|
|
|
|
error: aborting due to 1 previous error
|
|
|