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