]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/pinned-deep-copy.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / pinned-deep-copy.rs
index d6e8507d0200bc979b7818016c800e708b3fb850..0e8bb40e0ffee01357bae2610b948078587603a1 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(managed_boxes, unsafe_destructor)]
+#![feature(unsafe_destructor)]
 
 extern crate debug;
 
@@ -43,7 +43,7 @@ fn main() {
     {
         // Can't do this copy
         let x = box box box A {y: r(i)};
-        let _z = x.clone(); //~ ERROR failed to find an implementation
+        let _z = x.clone(); //~ ERROR not implemented
         println!("{:?}", x);
     }
     println!("{:?}", *i);