]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-1120.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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 }