1 2 3 4 5 6 7 8 9 10 11 12
mod mod2a; mod mod2b; mod mymod1 { use mod2a::{Bar, Foo}; mod mod3a; } #[path = "mod2c.rs"] mod mymod2; mod submod2;