2012-09-05 12:32:05 -07:00
|
|
|
use foo::zed;
|
|
|
|
use bar::baz;
|
2011-01-14 17:20:14 -05:00
|
|
|
mod foo {
|
2011-07-27 14:19:39 +02:00
|
|
|
mod zed {
|
2012-08-22 17:24:52 -07:00
|
|
|
fn baz() { debug!("baz"); }
|
2011-01-14 17:20:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
mod bar {
|
2011-07-27 14:19:39 +02:00
|
|
|
import zed::baz;
|
|
|
|
export baz;
|
2011-01-14 17:20:14 -05:00
|
|
|
}
|
2011-08-19 15:16:48 -07:00
|
|
|
fn main() { baz(); }
|