1error[E0382]: borrow of moved value: `some_vec`
2  --> $DIR/tab_3.rs:7:20
3   |
4LL |     let some_vec = vec!["hi"];
5   |         -------- move occurs because `some_vec` has type `Vec<&str>`, which does not implement the `Copy` trait
6LL |     some_vec.into_iter();
7   |              ----------- `some_vec` moved due to this method call
8LL |     {
9LL |         println!("{:?}", some_vec);
10   |                          ^^^^^^^^ value borrowed here after move
11   |
12note: this function takes ownership of the receiver `self`, which moves `some_vec`
13  --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
14   |
15LL |     fn into_iter(self) -> Self::IntoIter;
16   |                  ^^^^
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0382`.
21