]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/coherence-impls-copy.rs
Imported Upstream version 1.7.0+dfsg1
[rustc.git] / src / test / compile-fail / coherence-impls-copy.rs
index 1be606c3546fd18168c58a3b5aee8882b7145dbc..9c210c132a3131084733aead1eabdf7b34870d8c 100644 (file)
@@ -28,8 +28,6 @@ impl Copy for MyType {}
 
 impl Copy for &'static mut MyType {}
 //~^ ERROR E0206
-//~| ERROR E0277
-//~| ERROR E0277
 impl Clone for MyType { fn clone(&self) -> Self { *self } }
 
 impl Copy for (MyType, MyType) {}
@@ -42,8 +40,6 @@ impl Copy for &'static NotSync {}
 impl Copy for [MyType] {}
 //~^ ERROR E0206
 //~| ERROR E0117
-//~| ERROR E0277
-//~| ERROR E0277
 
 impl Copy for &'static [NotSync] {}
 //~^ ERROR E0206