]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-1120.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[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 }