diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/configs/reorder_imports/true.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/reorder_imports/true.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/reorder_imports/true.rs b/src/tools/rustfmt/tests/target/configs/reorder_imports/true.rs new file mode 100644 index 000000000..e4ff7295f --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/reorder_imports/true.rs @@ -0,0 +1,19 @@ +// rustfmt-reorder_imports: true +// Reorder imports + +use dolor; +use ipsum; +use lorem; +use sit; + +fn foo() { + use A; + use B; + use C; + + bar(); + + use D; + use E; + use F; +} |