Skip to content

Commit e035c0a

Browse files
committed
fix: rebless
Signed-off-by: 11happy <[email protected]>
1 parent 2c8b20b commit e035c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/ui/lint/type-overflow.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ LL | let fail = 0x8FFF_FFFF_FFFF_FFFE;
117117
help: to use as a negative number (decimal `-2`), consider using the type `u64` for the literal and cast it to `i32`
118118
|
119119
LL | let fail = 0x8FFF_FFFF_FFFF_FFFEu64 as i32;
120-
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120+
| ++++++++++
121121

122122
warning: literal out of range for `i8`
123123
--> $DIR/type-overflow.rs:46:17
@@ -139,7 +139,7 @@ LL | let fail = 0x8000_0000_0000_0000_0000_0000_FFFF_FFFE;
139139
help: to use as a negative number (decimal `-2`), consider using the type `u128` for the literal and cast it to `i32`
140140
|
141141
LL | let fail = 0x8000_0000_0000_0000_0000_0000_FFFF_FFFEu128 as i32;
142-
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142+
| +++++++++++
143143

144144
warning: 12 warnings emitted
145145

0 commit comments

Comments
 (0)