1 error[E0382]: borrow of moved value: `x`
2 --> $DIR/moves-based-on-type-access-to-field.rs:11:12
4 LL | consume(x.into_iter().next().unwrap());
6 LL | touch(&x[0]); //~ ERROR use of moved value: `x`
7 | ^ value borrowed here after move
9 = note: move occurs because `x` has type `std::vec::Vec<std::string::String>`, which does not implement the `Copy` trait
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0382`.