File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn main() {
28
28
//~^ WARNING literal out of range for `i32`
29
29
//~| HELP consider using the type `u128` instead
30
30
31
- let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000 ;
31
+ let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000 ; // issue #131849
32
32
//~^ WARNING literal out of range for `i32`
33
33
//~| HELP consider using the type `i128` instead
34
34
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ LL | let fail = 0x8000_0000_0000_0000_0000_0000_0000_0000;
77
77
warning: literal out of range for `i32`
78
78
--> $DIR/type-overflow.rs:31:17
79
79
|
80
- LL | let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000;
80
+ LL | let fail = -0x8000_0000_0000_0000_0000_0000_0000_0000; // issue #131849
81
81
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82
82
|
83
83
= note: the literal `0x8000_0000_0000_0000_0000_0000_0000_0000` (decimal `170141183460469231731687303715884105728`) does not fit into the type `i32`
You can’t perform that action at this time.
0 commit comments