]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/numbers-arithmetic/overflowing-rsh-6.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / numbers-arithmetic / overflowing-rsh-6.stderr
index 5d76639fb50f376cf076e5cc0053e507693c76f7..53a1445b54e387171e37550aa8ddf688fb09d178 100644 (file)
@@ -2,7 +2,7 @@ error: this arithmetic operation will overflow
   --> $DIR/overflowing-rsh-6.rs:7:14
    |
 LL |     let _n = 1i64 >> [64][0];
-   |              ^^^^^^^^^^^^^^^ attempt to shift right with overflow
+   |              ^^^^^^^^^^^^^^^ attempt to shift right by 64_i32 which would overflow
    |
 note: the lint level is defined here
   --> $DIR/overflowing-rsh-6.rs:4:9