]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/hashmap-lifetimes.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / hashmap-lifetimes.stderr
index eb129848ed2d650abc8f423c2f58680333d84bca..187c98ab298b67e1513bde0228f05bde1fbd05f9 100644 (file)
@@ -5,6 +5,7 @@ LL |     let mut it = my_stuff.iter();
    |                  -------- immutable borrow occurs here
 LL |     my_stuff.insert(1, 43); //~ ERROR cannot borrow
    |     ^^^^^^^^ mutable borrow occurs here
+LL |     it;
 LL | }
    | - immutable borrow ends here