]> 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 fee766464582ce0e2ba7b55ec9ac701f22ae7e1f..a3a1076ecba52fcbc1fc338d01ac3444770d5e68 100644 (file)
@@ -8,9 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_assignment)]
+#![allow(unused_variable)]
 
 trait Foo {
     fn foo(&self, mut v: int) { v = 1; }
 }
 
-fn main() {}
+pub fn main() {}