]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/two-phase-reservation-sharing-interference-2.migrate2015.stderr
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / borrowck / two-phase-reservation-sharing-interference-2.migrate2015.stderr
index e4fceb197be59af21471a464c42b06f6a1b8bc68..6cff53399ca7f12ebb08fa0dba026bc2b3e54fac 100644 (file)
@@ -27,8 +27,9 @@ LL |     let shared = &v;
    |                  -- immutable borrow occurs here
 LL | 
 LL |     v.push(shared.len());
-   |     ^      ------ immutable borrow later used here
-   |     |
+   |     ^^^^^^^------------^
+   |     |      |
+   |     |      immutable borrow later used here
    |     mutable borrow occurs here
    |
    = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default