]> 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 72a36ef22dff749b31f344c58ae8c6fe1a20111d..d266c6bb6584ffc019980b83dc180f802e12bea1 100644 (file)
@@ -1,7 +1,5 @@
-#![feature(nll)]
-
 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
 }