test: Fix a couple more tests. rs=bustage
This commit is contained in:
parent
c42d5e2747
commit
40eaecbd47
src/test
@ -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,
|
||||
|
@ -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"); }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user