summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-63364.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/issue-63364.stderr')
-rw-r--r--src/test/ui/lint/issue-63364.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/lint/issue-63364.stderr b/src/test/ui/lint/issue-63364.stderr
new file mode 100644
index 000000000..0375359ae
--- /dev/null
+++ b/src/test/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: `#[deny(overflowing_literals)]` on by default
+ = note: the literal `100_000` does not fit into the type `u16` whose range is `0..=65535`
+
+error: aborting due to previous error
+