Skip to content

Commit 0c3840b

Browse files
committed
fix: rebless
Signed-off-by: 11happy <[email protected]>
1 parent c8c261b commit 0c3840b

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
@@ -115,7 +115,7 @@ LL | let fail = 0x8FFF_FFFF_FFFF_FFFE;
115115
help: to use as a negative number (decimal `-2`), consider using the type `u64` for the literal and cast it to `i32`
116116
|
117117
LL | let fail = 0x8FFF_FFFF_FFFF_FFFEu64 as i32;
118-
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118+
| ++++++++++
119119

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

142142
warning: 12 warnings emitted
143143

0 commit comments

Comments
 (0)