]> git.proxmox.com Git - rustc.git/blob - src/test/ui/numbers-arithmetic/overflowing-lsh-2.stderr
Merge branch 'debian/experimental' into debian/sid
[rustc.git] / src / test / ui / numbers-arithmetic / overflowing-lsh-2.stderr
1 error: this arithmetic operation will overflow
2 --> $DIR/overflowing-lsh-2.rs:7:14
3 |
4 LL | let _x = 1 << -1;
5 | ^^^^^^^ attempt to shift left with overflow
6 |
7 note: the lint level is defined here
8 --> $DIR/overflowing-lsh-2.rs:4:9
9 |
10 LL | #![deny(arithmetic_overflow, const_err)]
11 | ^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14