// 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();
let mut it = my_stuff.iter();
my_stuff.insert(1, 43); //~ ERROR cannot borrow
+ it;
}