]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/nll/move-subpaths-moves-root.rs
Auto merge of #75912 - scottmcm:manuallydrop-vs-forget, r=Mark-Simulacrum
[rust.git] / src / test / ui / nll / move-subpaths-moves-root.rs
index e7caf89e78391d2b50eec6e068edd5afbe67764e..d266c6bb6584ffc019980b83dc180f802e12bea1 100644 (file)
@@ -1,5 +1,5 @@
 fn main() {
     let x = (vec![1, 2, 3], );
     drop(x.0);
-    drop(x); //~ ERROR use of moved value
+    drop(x); //~ ERROR use of partially moved value
 }