]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-3750.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / 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 }