rust/tests/source/mod-1.rs

18 lines
212 B
Rust
Raw Normal View History

// Deeply indented modules.
mod foo { mod bar { mod baz {} } }
mod foo {
mod bar {
mod baz {
fn foo() { bar() }
}
}
mod qux {
}
}
mod boxed { pub use std::boxed::{Box, HEAP}; }