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/lint-type-limits3.stderr | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/test/ui/lint/lint-type-limits3.stderr (limited to 'src/test/ui/lint/lint-type-limits3.stderr') diff --git a/src/test/ui/lint/lint-type-limits3.stderr b/src/test/ui/lint/lint-type-limits3.stderr deleted file mode 100644 index db46e7ae7..000000000 --- a/src/test/ui/lint/lint-type-limits3.stderr +++ /dev/null @@ -1,24 +0,0 @@ -error: comparison is useless due to type limits - --> $DIR/lint-type-limits3.rs:9:11 - | -LL | while 200 != i { - | ^^^^^^^^ - | - = note: requested on the command line with `-D unused-comparisons` - -warning: literal out of range for `i8` - --> $DIR/lint-type-limits3.rs:9:11 - | -LL | while 200 != i { - | ^^^ - | - = note: the literal `200` does not fit into the type `i8` whose range is `-128..=127` - = help: consider using the type `u8` instead -note: the lint level is defined here - --> $DIR/lint-type-limits3.rs:2:9 - | -LL | #![warn(overflowing_literals)] - | ^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to previous error; 1 warning emitted - -- cgit v1.2.3