| - ^^ help: consider borrowing here: `&*a`
| |
| data moved here
- | move occurs because `s` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `s` has type `String`, which does not implement the `Copy` trait
error[E0509]: cannot move out of type `D`, which implements the `Drop` trait
--> $DIR/move-errors.rs:44:19
| - ^ cannot move out of here
| |
| data moved here
- | move occurs because `s` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `s` has type `String`, which does not implement the `Copy` trait
error[E0507]: cannot move out of `*a` which is behind a shared reference
--> $DIR/move-errors.rs:51:9
| -
| |
| data moved here
- | move occurs because `s` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `s` has type `String`, which does not implement the `Copy` trait
error[E0509]: cannot move out of type `D`, which implements the `Drop` trait
--> $DIR/move-errors.rs:92:11
| -
| |
| data moved here
- | move occurs because `s` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `s` has type `String`, which does not implement the `Copy` trait
error[E0507]: cannot move out of `*x.1` which is behind a shared reference
--> $DIR/move-errors.rs:92:11
| -
| |
| data moved here
- | move occurs because `t` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `t` has type `String`, which does not implement the `Copy` trait
error[E0509]: cannot move out of type `F`, which implements the `Drop` trait
--> $DIR/move-errors.rs:102:11
| -
| |
| data moved here
- | move occurs because `s` has type `std::string::String`, which does not implement the `Copy` trait
+ | move occurs because `s` has type `String`, which does not implement the `Copy` trait
error: aborting due to 14 previous errors