]> 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 e62f5fe1a4daf64811e2d9c491908e304a467599..0e8bb40e0ffee01357bae2610b948078587603a1 100644 (file)
@@ -43,8 +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
-        //~^ ERROR failed to find an implementation
+        let _z = x.clone(); //~ ERROR not implemented
         println!("{:?}", x);
     }
     println!("{:?}", *i);