summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/5131_one.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/5131_one.rs')
-rw-r--r--src/tools/rustfmt/tests/target/5131_one.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/5131_one.rs b/src/tools/rustfmt/tests/target/5131_one.rs
new file mode 100644
index 000000000..a086dae5a
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/5131_one.rs
@@ -0,0 +1,12 @@
+// rustfmt-imports_granularity: One
+
+pub use foo::{x, x as x2, y};
+use {
+ bar::{
+ a,
+ b::{self, f, g},
+ c,
+ d::{e, e as e2},
+ },
+ qux::{h, i},
+};