rust/tests/ui/lint/issue-63364.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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