fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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