summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/5131_crate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/5131_crate.rs')
-rw-r--r--src/tools/rustfmt/tests/target/5131_crate.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/5131_crate.rs b/src/tools/rustfmt/tests/target/5131_crate.rs
new file mode 100644
index 000000000..557d66703
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/5131_crate.rs
@@ -0,0 +1,9 @@
+// rustfmt-imports_granularity: Crate
+
+use foo::{
+ a, b, b as b2,
+ b::{f, g, g as g2},
+ c,
+ d::e,
+};
+use qux::{h, h as h2, i};