]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/move-subpaths-moves-root.stderr
Auto merge of #75912 - scottmcm:manuallydrop-vs-forget, r=Mark-Simulacrum
[rust.git] / src / test / ui / nll / move-subpaths-moves-root.stderr
1 error[E0382]: use of partially moved value: `x`
2   --> $DIR/move-subpaths-moves-root.rs:4:10
3    |
4 LL |     drop(x.0);
5    |          --- value partially moved here
6 LL |     drop(x);
7    |          ^ value used here after partial move
8    |
9    = note: partial move occurs because `x.0` has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0382`.