1 error[E0382]: borrow of moved value: `x`
2 --> $DIR/moves-based-on-type-match-bindings.rs:16:11
7 LL | touch(&x); //~ ERROR use of partially moved value: `x`
8 | ^^ value borrowed here after move
10 = note: move occurs because `x.f` has type `std::string::String`, which does not implement the `Copy` trait
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0382`.