]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/hashmap-lifetimes.nll.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / hashmap-lifetimes.nll.stderr
index 4cf87ee8dc75b7af983d75844b90ca8476c7ce02..08b8e3e443a9b01c4d19215415c2815560489eb9 100644 (file)
@@ -1,5 +1,5 @@
 error[E0502]: cannot borrow `my_stuff` as mutable because it is also borrowed as immutable
-  --> $DIR/hashmap-lifetimes.rs:18:5
+  --> $DIR/hashmap-lifetimes.rs:6:5
    |
 LL |     let mut it = my_stuff.iter();
    |                  -------- immutable borrow occurs here