]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-1120.rs
fix: use correct spans for params with attrs
[rust.git] / tests / source / issue-1120.rs
1 // rustfmt-reorder_imports: true
2
3 // Ensure that a use at the start of an inline module is correctly formatted.
4 mod foo {use bar;}
5
6 // Ensure that an indented `use` gets the correct indentation.
7 mod foo {
8         use bar;
9 }