|
1 | 1 | error: Flag value out of range for u64 |
2 | | - --> $DIR/shift_out_of_range.rs:5:5 |
| 2 | + --> ui/shift_out_of_range.rs:5:5 |
3 | 3 | | |
4 | 4 | 5 | BigNumber = 1 << 69, |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^ |
6 | 6 |
|
7 | 7 | error: Flag value out of range for u16 |
8 | | - --> $DIR/shift_out_of_range.rs:12:5 |
| 8 | + --> ui/shift_out_of_range.rs:12:5 |
9 | 9 | | |
10 | 10 | 12 | BigNumber = 1 << 20, |
11 | 11 | | ^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error: Flag value out of range for u16 |
14 | | - --> $DIR/shift_out_of_range.rs:19:5 |
| 14 | + --> ui/shift_out_of_range.rs:19:5 |
15 | 15 | | |
16 | 16 | 19 | BigNumber = (1 << 10) << 10, |
17 | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
18 | 18 |
|
19 | | -error[E0080]: evaluation of constant value failed |
20 | | - --> $DIR/shift_out_of_range.rs:5:17 |
| 19 | +error[E0080]: attempt to shift left by `69_i32`, which would overflow |
| 20 | + --> ui/shift_out_of_range.rs:5:17 |
21 | 21 | | |
22 | 22 | 5 | BigNumber = 1 << 69, |
23 | | - | ^^^^^^^ attempt to shift left by `69_i32`, which would overflow |
| 23 | + | ^^^^^^^ evaluation of constant value failed here |
24 | 24 |
|
25 | | -error[E0080]: evaluation of constant value failed |
26 | | - --> $DIR/shift_out_of_range.rs:12:17 |
| 25 | +error[E0080]: attempt to shift left by `20_i32`, which would overflow |
| 26 | + --> ui/shift_out_of_range.rs:12:17 |
27 | 27 | | |
28 | 28 | 12 | BigNumber = 1 << 20, |
29 | | - | ^^^^^^^ attempt to shift left by `20_i32`, which would overflow |
| 29 | + | ^^^^^^^ evaluation of constant value failed here |
0 commit comments