16 lines
216 B
Rust
16 lines
216 B
Rust
use foo::zed;
|
|
use bar::baz;
|
|
mod foo {
|
|
mod zed {
|
|
fn baz() { debug!("baz"); }
|
|
}
|
|
}
|
|
mod bar {
|
|
use zed::baz;
|
|
export baz;
|
|
mod foo {
|
|
mod zed { }
|
|
}
|
|
}
|
|
fn main(args: ~[~str]) { baz(); }
|