]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/coherence-impl-in-fn.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / coherence-impl-in-fn.rs
index 51cd62677ca1ca9a68af0ac48bfb4628008ee6d2..6edd7390f0f31a37ad0cf088a3dec7ff0e2ec070 100644 (file)
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 pub fn main() {
+    #[derive(Copy)]
     enum x { foo }
     impl ::std::cmp::PartialEq for x {
         fn eq(&self, other: &x) -> bool {