1 error[E0382]: borrow of moved value: `some_vec`
4 LL | let some_vec = vec!["hi"];
5 | -------- move occurs because `some_vec` has type `Vec<&str>`, which does not implement the `Copy` trait
6 LL | some_vec.into_iter();
7 | ----------- `some_vec` moved due to this method call
9 LL | println!("{:?}", some_vec);
10 | ^^^^^^^^ value borrowed here after move
12 note: this function takes ownership of the receiver `self`, which moves `some_vec`
13 --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
15 LL | fn into_iter(self) -> Self::IntoIter;
17 = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0382`.