diff options
Diffstat (limited to 'src/test/ui/lint/deny-overflowing-literals.rs')
-rw-r--r-- | src/test/ui/lint/deny-overflowing-literals.rs | 7 |
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` -} |