1 error[E0507]: cannot move out of `self.v` which is behind a shared reference
2 --> $DIR/for-i-in-vec.rs:11:18
7 | `self.v` moved due to this implicit call to `.into_iter()`
8 | move occurs because `self.v` has type `Vec<u32>`, which does not implement the `Copy` trait
10 note: this function takes ownership of the receiver `self`, which moves `self.v`
11 --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
13 LL | fn into_iter(self) -> Self::IntoIter;
15 help: consider iterating over a slice of the `Vec<u32>`'s content to avoid moving into the `for` loop
17 LL | for _ in &self.v {
20 error[E0507]: cannot move out of `self.h` which is behind a shared reference
21 --> $DIR/for-i-in-vec.rs:13:18
23 LL | for _ in self.h {
26 | `self.h` moved due to this implicit call to `.into_iter()`
27 | move occurs because `self.h` has type `HashMap<i32, i32>`, which does not implement the `Copy` trait
29 help: consider iterating over a slice of the `HashMap<i32, i32>`'s content to avoid moving into the `for` loop
31 LL | for _ in &self.h {
34 error[E0507]: cannot move out of a shared reference
35 --> $DIR/for-i-in-vec.rs:21:19
37 LL | for loader in *LOADERS {
40 | value moved due to this implicit call to `.into_iter()`
41 | move occurs because value has type `Vec<&u8>`, which does not implement the `Copy` trait
43 note: this function takes ownership of the receiver `self`, which moves value
44 --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
46 LL | fn into_iter(self) -> Self::IntoIter;
48 help: consider iterating over a slice of the `Vec<&u8>`'s content to avoid moving into the `for` loop
50 LL | for loader in &*LOADERS {
53 error: aborting due to 3 previous errors
55 For more information about this error, try `rustc --explain E0507`.