blob: 111f2cab857f23deb79c2f16c2d9d18db1a153e0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//@ run-pass
mod inner {
pub mod inner2 {
pub fn hello() { println!("hello, modular world"); }
}
pub fn hello() { inner2::hello(); }
}
pub fn main() { inner::hello(); inner::inner2::hello(); }
|