Skip to content

Commit 5445541

Browse files
committed
Update shift_out_of_range for Rust 1.46
1 parent 4fafa62 commit 5445541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_suite/ui/shift_out_of_range.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ error[E0080]: evaluation of constant value failed
22
--> $DIR/shift_out_of_range.rs:5:17
33
|
44
5 | BigNumber = 1 << 69,
5-
| ^^^^^^^ attempt to shift left with overflow
5+
| ^^^^^^^ attempt to shift left by 69_i32 which would overflow
66

77
error[E0080]: evaluation of constant value failed
88
--> $DIR/shift_out_of_range.rs:12:17
99
|
1010
12 | BigNumber = 1 << 20,
11-
| ^^^^^^^ attempt to shift left with overflow
11+
| ^^^^^^^ attempt to shift left by 20_i32 which would overflow

0 commit comments

Comments
 (0)