]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-1120.rs
Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472
[rust.git] / src / tools / rustfmt / tests / target / 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 {
5     use bar;
6 }
7
8 // Ensure that an indented `use` gets the correct indentation.
9 mod foo {
10     use bar;
11 }