diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-12-28 18:02:20 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-12-28 18:02:20 -0800 |
| commit | 40eaecbd47ad2eec3be1787cccf9222957946d00 (patch) | |
| tree | cd47eac3a1e186b7f5d899f29f56915a0019ba46 /src/test | |
| parent | c42d5e274766d56cb0ca6c94b45ea05e5292f606 (diff) | |
| download | rust-40eaecbd47ad2eec3be1787cccf9222957946d00.tar.gz rust-40eaecbd47ad2eec3be1787cccf9222957946d00.zip | |
test: Fix a couple more tests. rs=bustage
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/auxiliary/cci_class_cast.rs | 7 | ||||
| -rw-r--r-- | 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"); } } |
