]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/import6.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / import6.rs
index 88b839c0c08a462b3c0b278446d585c05ac73c77..802dfc1f2ed148062d09dec487da44a48d71af87 100644 (file)
@@ -1,6 +1,5 @@
-// xfail-fast
 
-// 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.
 //
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
+
 use foo::zed;
 use bar::baz;
+
 mod foo {
     pub mod zed {
-        pub fn baz() { debug!("baz"); }
+        pub fn baz() { println!("baz"); }
     }
 }
 mod bar {
-    pub use zed::baz;
+    pub use foo::zed::baz;
 }
 pub fn main() { baz(); }