2018-09-30 19:21:31 +00:00
|
|
|
error[E0507]: cannot move out of an `Rc`
|
2019-04-07 15:07:36 +00:00
|
|
|
--> $DIR/issue-52086.rs:8:10
|
2018-09-30 19:21:31 +00:00
|
|
|
|
|
|
|
|
LL | drop(x.field);
|
2019-05-05 11:02:32 +00:00
|
|
|
| ^^^^^^^ move occurs because value has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
|
2018-09-30 19:21:31 +00:00
|
|
|
|
|
|
|
error[E0507]: cannot move out of an `Arc`
|
2019-04-07 15:07:36 +00:00
|
|
|
--> $DIR/issue-52086.rs:12:10
|
2018-09-30 19:21:31 +00:00
|
|
|
|
|
|
|
|
LL | drop(y.field);
|
2019-05-05 11:02:32 +00:00
|
|
|
| ^^^^^^^ move occurs because value has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
|
2018-09-30 19:21:31 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0507`.
|