1 2 3 4 5 6 7 8 9 10 11 12 13
// run-pass #![allow(unused_imports)] use baz::zed; use baz::zed::bar; mod baz { pub mod zed { pub fn bar() { println!("bar2"); } } } pub fn main() { bar(); }