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