1error: this arithmetic operation will overflow
2  --> $DIR/overflowing-rsh-2.rs:7:14
3   |
4LL |     let _x = -1_i32 >> -1;
5   |              ^^^^^^^^^^^^ attempt to shift right by `-1_i32`, which would overflow
6   |
7note: the lint level is defined here
8  --> $DIR/overflowing-rsh-2.rs:4:9
9   |
10LL | #![deny(arithmetic_overflow, const_err)]
11   |         ^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14
15