1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/by-move-pattern-binding.rs:14:11
5 | ^^^^ cannot move out of borrowed content
7 LL | &E::Bar(identifier) => f(identifier.clone())
11 | help: consider removing the `&`: `E::Bar(identifier)`
13 note: move occurs because `identifier` has type `std::string::String`, which does not implement the `Copy` trait
14 --> $DIR/by-move-pattern-binding.rs:16:17
16 LL | &E::Bar(identifier) => f(identifier.clone())
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0507`.