]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0080.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / error-codes / E0080.stderr
CommitLineData
a1dfa0c6 1error[E0080]: evaluation of constant value failed
0731742a 2 --> $DIR/E0080.rs:2:9
2c00a5a8 3 |
532ac7d7 4LL | X = (1 << 500),
1b1a35ee 5 | ^^^^^^^^^^ attempt to shift left by `500_i32`, which would overflow
2c00a5a8 6
a1dfa0c6 7error[E0080]: evaluation of constant value failed
0731742a 8 --> $DIR/E0080.rs:4:9
2c00a5a8 9 |
532ac7d7 10LL | Y = (1 / 0)
1b1a35ee 11 | ^^^^^^^ attempt to divide `1_isize` by zero
2c00a5a8 12
a1dfa0c6 13error: aborting due to 2 previous errors
2c00a5a8 14
0531ce1d 15For more information about this error, try `rustc --explain E0080`.