rust/tests/source/issue-3750.rs

17 lines
184 B
Rust

// rustfmt-imports_granularity: Crate
pub mod foo {
pub mod bar {
pub struct Bar;
}
pub fn bar() {}
}
use foo::bar;
use foo::bar::Bar;
fn main() {
bar();
}