2019-08-07 23:38:23 -05:00
|
|
|
error: literal out of range for `u16`
|
|
|
|
--> $DIR/issue-63364.rs:6:14
|
|
|
|
|
|
|
|
|
LL | for n in 100_000.. {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2020-03-13 22:57:04 -05:00
|
|
|
= note: the literal `100_000` does not fit into the type `u16` whose range is `0..=65535`
|
2022-09-18 10:55:36 -05:00
|
|
|
= note: `#[deny(overflowing_literals)]` on by default
|
2019-08-07 23:38:23 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|