]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/numbers-arithmetic/overflowing-lsh-2.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / numbers-arithmetic / overflowing-lsh-2.stderr
index e6f6b1ccd192dace68367da03fb7c404bde605e3..8598792e08043bf0684fb0ecbc0c242b09141667 100644 (file)
@@ -2,7 +2,7 @@ error: this arithmetic operation will overflow
   --> $DIR/overflowing-lsh-2.rs:7:14
    |
 LL |     let _x = 1 << -1;
-   |              ^^^^^^^ attempt to shift left by -1_i32 which would overflow
+   |              ^^^^^^^ attempt to shift left by `-1_i32`, which would overflow
    |
 note: the lint level is defined here
   --> $DIR/overflowing-lsh-2.rs:4:9