]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/borrowck-loan-blocks-move.stderr
Updated the most glaring instances of weak tests w.r.t. NLL that came from #53196.
[rust.git] / src / test / ui / borrowck / borrowck-loan-blocks-move.stderr
index fb5657f6928a4d7564801ff1269ef139a0ec2ed8..5edbf6a9b2c21034ab3f9df7c64f68dd989e140f 100644 (file)
@@ -1,8 +1,8 @@
 error[E0505]: cannot move out of `v` because it is borrowed
   --> $DIR/borrowck-loan-blocks-move.rs:21:10
    |
-LL |     let _w = &v;
-   |               - borrow of `v` occurs here
+LL |     let w = &v;
+   |              - borrow of `v` occurs here
 LL |     take(v); //~ ERROR cannot move out of `v` because it is borrowed
    |          ^ move out of `v` occurs here