]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numbers-arithmetic/overflowing-rsh-6.stderr
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
[rust.git] / src / test / ui / numbers-arithmetic / overflowing-rsh-6.stderr
1 error: this arithmetic operation will overflow
2   --> $DIR/overflowing-rsh-6.rs:7:14
3    |
4 LL |     let _n = 1i64 >> [64][0];
5    |              ^^^^^^^^^^^^^^^ attempt to shift right by `64_i32`, which would overflow
6    |
7 note: the lint level is defined here
8   --> $DIR/overflowing-rsh-6.rs:4:9
9    |
10 LL | #![deny(arithmetic_overflow, const_err)]
11    |         ^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14