diff options
Diffstat (limited to 'tests/ui/lint/issue-63364.stderr')
-rw-r--r-- | tests/ui/lint/issue-63364.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/lint/issue-63364.stderr b/tests/ui/lint/issue-63364.stderr new file mode 100644 index 000000000..9b5453fa8 --- /dev/null +++ b/tests/ui/lint/issue-63364.stderr @@ -0,0 +1,11 @@ +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 previous error + |