summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4029.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-4029.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-4029.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-4029.rs b/src/tools/rustfmt/tests/target/issue-4029.rs
new file mode 100644
index 000000000..314d01805
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-4029.rs
@@ -0,0 +1,7 @@
+// issue #4029
+#[derive(Debug, Clone, Default Hash)]
+struct S;
+
+// issue #3898
+#[derive(Debug, Clone, Default,, Hash)]
+struct T;