Skip to content

Commit 40eaecb

Browse files
committed
test: Fix a couple more tests. rs=bustage
1 parent c42d5e2 commit 40eaecb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/test/auxiliary/cci_class_cast.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[legacy_exports];
11+
use core::to_str::*;
1212

13-
use to_str::*;
14-
use to_str::ToStr;
15-
16-
mod kitty {
13+
pub mod kitty {
1714
pub struct cat {
1815
priv mut meows : uint,
1916
mut how_hungry : int,

src/test/run-pass/export-non-interference3.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
mod foo {
12-
pub fn x() { bar::x(); }
11+
pub mod foo {
12+
pub fn x() { ::bar::x(); }
1313
}
1414

15-
mod bar {
15+
pub mod bar {
1616
pub fn x() { debug!("x"); }
1717
}
1818

0 commit comments

Comments
 (0)