Skip to content

Commit

Permalink
fix: rebless
Browse files Browse the repository at this point in the history
Signed-off-by: 11happy <soni5happy@gmail.com>
  • Loading branch information
11happy committed Feb 28, 2025
1 parent c8c261b commit 0c3840b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/lint/type-overflow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 0c3840b

Please sign in to comment.