]>
Commit | Line | Data |
---|---|---|
a1dfa0c6 | 1 | error[E0080]: evaluation of constant value failed |
0731742a | 2 | --> $DIR/E0080.rs:2:9 |
2c00a5a8 | 3 | | |
532ac7d7 | 4 | LL | X = (1 << 500), |
1b1a35ee | 5 | | ^^^^^^^^^^ attempt to shift left by `500_i32`, which would overflow |
2c00a5a8 | 6 | |
a1dfa0c6 | 7 | error[E0080]: evaluation of constant value failed |
0731742a | 8 | --> $DIR/E0080.rs:4:9 |
2c00a5a8 | 9 | | |
532ac7d7 | 10 | LL | Y = (1 / 0) |
1b1a35ee | 11 | | ^^^^^^^ attempt to divide `1_isize` by zero |
2c00a5a8 | 12 | |
a1dfa0c6 | 13 | error: aborting due to 2 previous errors |
2c00a5a8 | 14 | |
0531ce1d | 15 | For more information about this error, try `rustc --explain E0080`. |