]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/anon_trait_static_method_exe.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / anon_trait_static_method_exe.rs
index 1baeca00083fd660a49fc1697e2d464581ed09de..f420460a41247b5140fb64ec97cc87affc6147f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -8,13 +8,12 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-fast - check-fast doesn't understand aux-build
 // aux-build:anon_trait_static_method_lib.rs
 
-extern mod anon_trait_static_method_lib;
+extern crate anon_trait_static_method_lib;
 use anon_trait_static_method_lib::Foo;
 
 pub fn main() {
     let x = Foo::new();
-    io::println(x.x.to_str());
+    println!("{}", x.x);
 }