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