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