about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/auxiliary/cci_class_cast.rs7
-rw-r--r--src/test/run-pass/export-non-interference3.rs6
2 files changed, 5 insertions, 8 deletions
diff --git a/src/test/auxiliary/cci_class_cast.rs b/src/test/auxiliary/cci_class_cast.rs
index 61bbd433f7b..1225e2fe8a7 100644
--- a/src/test/auxiliary/cci_class_cast.rs
+++ b/src/test/auxiliary/cci_class_cast.rs
@@ -8,12 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[legacy_exports];
+use core::to_str::*;
 
-use to_str::*;
-use to_str::ToStr;
-
-mod kitty {
+pub mod kitty {
     pub struct cat {
       priv mut meows : uint,
       mut how_hungry : int,
diff --git a/src/test/run-pass/export-non-interference3.rs b/src/test/run-pass/export-non-interference3.rs
index bdde94f5ef0..3b4ab709f6d 100644
--- a/src/test/run-pass/export-non-interference3.rs
+++ b/src/test/run-pass/export-non-interference3.rs
@@ -8,11 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-mod foo {
-    pub fn x() { bar::x(); }
+pub mod foo {
+    pub fn x() { ::bar::x(); }
 }
 
-mod bar {
+pub mod bar {
     pub fn x() { debug!("x"); }
 }