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