summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/deny-overflowing-literals.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/deny-overflowing-literals.rs')
-rw-r--r--src/test/ui/lint/deny-overflowing-literals.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/lint/deny-overflowing-literals.rs b/src/test/ui/lint/deny-overflowing-literals.rs
deleted file mode 100644
index 21c8ba7d6..000000000
--- a/src/test/ui/lint/deny-overflowing-literals.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-fn main() {
- let x: u8 = 256;
- //~^ error: literal out of range for `u8`
-
- for _ in 0..256u8 {}
- //~^ error: range endpoint is out of range for `u8`
-}