]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/hashmap-lifetimes.rs
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / hashmap-lifetimes.rs
index 9418c34cbfdaa2dc054683a1c4935930a8dbbda8..eb7404e7b780b9434594c845e515e016d42b5c42 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-compare-mode-nll
+
 
 fn main() {
     let mut my_stuff = std::collections::HashMap::new();
@@ -16,4 +16,5 @@ fn main() {
 
     let mut it = my_stuff.iter();
     my_stuff.insert(1, 43); //~ ERROR cannot borrow
+    it;
 }