]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-1120.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / tools / rustfmt / 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 }