]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-3750.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / tools / rustfmt / tests / source / issue-3750.rs
1 // rustfmt-imports_granularity: Crate
2
3 pub mod foo {
4     pub mod bar {
5         pub struct Bar;
6     }
7
8     pub fn bar() {}
9 }
10
11 use foo::bar;
12 use foo::bar::Bar;
13
14 fn main() {
15     bar();
16 }