From 40eaecbd47ad2eec3be1787cccf9222957946d00 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 28 Dec 2012 18:02:20 -0800 Subject: [PATCH] test: Fix a couple more tests. rs=bustage --- src/test/auxiliary/cci_class_cast.rs | 7 ++----- src/test/run-pass/export-non-interference3.rs | 6 +++--- 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"); } }