From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/lint/deny-overflowing-literals.stderr | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/test/ui/lint/deny-overflowing-literals.stderr (limited to 'src/test/ui/lint/deny-overflowing-literals.stderr') 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 - -- cgit v1.2.3