]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/vec/vec-mut-iter-borrow.nll.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / vec / vec-mut-iter-borrow.nll.stderr
index 73cddd8d680a67097c754b16a67e07273a116ddc..c77be26f0193883029ba698316f27ca55e088bc4 100644 (file)
@@ -5,7 +5,7 @@ LL |     for x in &mut xs {
    |              -------
    |              |
    |              first mutable borrow occurs here
-   |              first borrow used here, in later iteration of loop
+   |              first borrow later used here
 LL |         xs.push(1) //~ ERROR cannot borrow `xs`
    |         ^^ second mutable borrow occurs here