diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/false.rs | 6 | ||||
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/true.rs | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/false.rs b/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/false.rs new file mode 100644 index 000000000..3b967f35a --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/false.rs @@ -0,0 +1,6 @@ +// rustfmt-condense_wildcard_suffixes: false +// Condense wildcard suffixes + +fn main() { + let (lorem, ipsum, _, _) = (1, 2, 3, 4); +} diff --git a/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/true.rs b/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/true.rs new file mode 100644 index 000000000..4f880abe8 --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/condense_wildcard_suffixes/true.rs @@ -0,0 +1,6 @@ +// rustfmt-condense_wildcard_suffixes: true +// Condense wildcard suffixes + +fn main() { + let (lorem, ipsum, ..) = (1, 2, 3, 4); +} |