]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/opt-in-copy.rs
Make name resolution errors non-fatal
[rust.git] / src / test / compile-fail / opt-in-copy.rs
index be321b6290354197c03dfcd2c5b0447e271b0cc2..bc18b52a0c1c9e3f8fdfd0f65994e4e2e0daf464 100644 (file)
@@ -16,7 +16,6 @@ struct IWantToCopyThis {
 
 impl Copy for IWantToCopyThis {}
 //~^ ERROR the trait `Copy` may not be implemented for this type
-//~| ERROR E0277
 
 enum CantCopyThisEither {
     A,
@@ -29,6 +28,5 @@ enum IWantToCopyThisToo {
 
 impl Copy for IWantToCopyThisToo {}
 //~^ ERROR the trait `Copy` may not be implemented for this type
-//~| ERROR E0277
 
 fn main() {}