From 0c3840b90591e42fd7b0eecc00586adbdef17721 Mon Sep 17 00:00:00 2001 From: 11happy Date: Fri, 28 Feb 2025 07:11:01 +0530 Subject: [PATCH] fix: rebless Signed-off-by: 11happy --- tests/ui/lint/type-overflow.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/lint/type-overflow.stderr b/tests/ui/lint/type-overflow.stderr index 30266d8783de8..065c530adcf57 100644 --- a/tests/ui/lint/type-overflow.stderr +++ b/tests/ui/lint/type-overflow.stderr @@ -115,7 +115,7 @@ LL | let fail = 0x8FFF_FFFF_FFFF_FFFE; help: to use as a negative number (decimal `-2`), consider using the type `u64` for the literal and cast it to `i32` | LL | let fail = 0x8FFF_FFFF_FFFF_FFFEu64 as i32; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ++++++++++ warning: literal out of range for `i8` --> $DIR/type-overflow.rs:46:17 @@ -137,7 +137,7 @@ LL | let fail = 0x8000_0000_0000_0000_0000_0000_FFFF_FFFE; help: to use as a negative number (decimal `-2`), consider using the type `u128` for the literal and cast it to `i32` | LL | let fail = 0x8000_0000_0000_0000_0000_0000_FFFF_FFFEu128 as i32; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | +++++++++++ warning: 12 warnings emitted