summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/deny-overflowing-literals.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/deny-overflowing-literals.stderr')
-rw-r--r--src/test/ui/lint/deny-overflowing-literals.stderr17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/lint/deny-overflowing-literals.stderr b/src/test/ui/lint/deny-overflowing-literals.stderr
deleted file mode 100644
index beb0ad795..000000000
--- a/src/test/ui/lint/deny-overflowing-literals.stderr
+++ /dev/null
@@ -1,17 +0,0 @@
-error: literal out of range for `u8`
- --> $DIR/deny-overflowing-literals.rs:2:17
- |
-LL | let x: u8 = 256;
- | ^^^
- |
- = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
- = note: `#[deny(overflowing_literals)]` on by default
-
-error: range endpoint is out of range for `u8`
- --> $DIR/deny-overflowing-literals.rs:5:14
- |
-LL | for _ in 0..256u8 {}
- | ^^^^^^^^ help: use an inclusive range instead: `0..=255u8`
-
-error: aborting due to 2 previous errors
-