]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/traits-default-method-mut.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / traits-default-method-mut.rs
index 4b217ba0ebbdeec1062d4798d7857a7542112a93..a3a1076ecba52fcbc1fc338d01ac3444770d5e68 100644 (file)
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[allow(dead_assignment)];
-#[allow(unused_variable)];
+#![allow(dead_assignment)]
+#![allow(unused_variable)]
 
 trait Foo {
     fn foo(&self, mut v: int) { v = 1; }