rust/tests/ui/lint/issue-63364.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
327 B
Plaintext
Raw Normal View History

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`
2022-09-18 15:55:36 +00:00
= note: `#[deny(overflowing_literals)]` on by default
error: aborting due to 1 previous error