1 error[E0502]: cannot borrow `my_stuff` as mutable because it is also borrowed as immutable
2 --> $DIR/hashmap-iter-value-lifetime.rs:17:5
4 LL | let (_, thing) = my_stuff.iter().next().unwrap();
5 | -------- immutable borrow occurs here
7 LL | my_stuff.clear(); //~ ERROR cannot borrow
8 | ^^^^^^^^ mutable borrow occurs here
11 | - immutable borrow ends here
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0502`.