2020-08-08 17:16:43 +00:00
|
|
|
error[E0382]: use of partially moved value: `x`
|
2019-04-07 15:07:36 +00:00
|
|
|
--> $DIR/move-subpaths-moves-root.rs:4:10
|
2018-09-15 15:29:29 +00:00
|
|
|
|
|
|
|
|
LL | drop(x.0);
|
2020-08-08 17:16:43 +00:00
|
|
|
| --- value partially moved here
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | drop(x);
|
2019-02-06 15:42:21 +00:00
|
|
|
| ^ value used here after partial move
|
2018-09-15 15:29:29 +00:00
|
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
= note: partial move occurs because `x.0` has type `Vec<i32>`, which does not implement the `Copy` trait
|
2018-09-15 15:29:29 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-09-15 15:29:29 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0382`.
|