]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inner-module.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / inner-module.rs
1 // run-pass
2
3 mod inner {
4     pub mod inner2 {
5         pub fn hello() { println!("hello, modular world"); }
6     }
7     pub fn hello() { inner2::hello(); }
8 }
9
10 pub fn main() { inner::hello(); inner::inner2::hello(); }