1 error[E0507]: cannot move out of `self.v` which is behind a shared reference
2 --> $DIR/for-i-in-vec.rs:11:18
5 | ^^^^^^ move occurs because `self.v` has type `Vec<u32>`, which does not implement the `Copy` trait
7 help: consider iterating over a slice of the `Vec<u32>`'s content
9 LL | for _ in &self.v {
12 error[E0507]: cannot move out of `self.h` which is behind a shared reference
13 --> $DIR/for-i-in-vec.rs:13:18
15 LL | for _ in self.h {
16 | ^^^^^^ move occurs because `self.h` has type `HashMap<i32, i32>`, which does not implement the `Copy` trait
18 help: consider iterating over a slice of the `HashMap<i32, i32>`'s content
20 LL | for _ in &self.h {
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0507`.