15 lines
221 B
Rust
15 lines
221 B
Rust
import bar::baz;
|
|
import foo::zed;
|
|
mod foo {
|
|
mod zed {
|
|
fn baz() { log "baz"; }
|
|
}
|
|
}
|
|
mod bar {
|
|
import zed::baz;
|
|
export baz;
|
|
mod foo {
|
|
mod zed { }
|
|
}
|
|
}
|
|
fn main(args: vec[str]) { baz(); } |