]> git.proxmox.com Git - rustc.git/blame - src/test/ui/numbers-arithmetic/overflowing-rsh-4.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / numbers-arithmetic / overflowing-rsh-4.stderr
CommitLineData
f9f354fc
XL
1error: this arithmetic operation will overflow
2 --> $DIR/overflowing-rsh-4.rs:11:13
3 |
4LL | let x = 2_i8 >> 17;
1b1a35ee 5 | ^^^^^^^^^^ attempt to shift right by `17_i32`, which would overflow
f9f354fc
XL
6 |
7note: the lint level is defined here
8 --> $DIR/overflowing-rsh-4.rs:7:9
9 |
10LL | #![deny(arithmetic_overflow, const_err)]
11 | ^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14