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