summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs')
-rw-r--r--src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs b/src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs
new file mode 100644
index 000000000..daf23375c
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/configs/group_imports/StdExternalCrate-nested.rs
@@ -0,0 +1,7 @@
+// rustfmt-group_imports: StdExternalCrate
+mod test {
+ use std::path;
+
+ use crate::foo::bar;
+ use crate::foo::bar2;
+}