]> git.lizzy.rs Git - rust.git/commitdiff
test case for issue #2446
authorChristopher Armstrong <radix@twistedmatrix.com>
Thu, 15 Feb 2018 22:03:29 +0000 (16:03 -0600)
committerChristopher Armstrong <radix@twistedmatrix.com>
Fri, 16 Feb 2018 20:14:34 +0000 (14:14 -0600)
rustfmt-core/tests/source/issue-2446.rs [new file with mode: 0644]
rustfmt-core/tests/target/issue-2446.rs [new file with mode: 0644]

diff --git a/rustfmt-core/tests/source/issue-2446.rs b/rustfmt-core/tests/source/issue-2446.rs
new file mode 100644 (file)
index 0000000..9d61b5d
--- /dev/null
@@ -0,0 +1,5 @@
+enum Issue2446 {
+    V {
+        f: u8, //
+    },
+}
diff --git a/rustfmt-core/tests/target/issue-2446.rs b/rustfmt-core/tests/target/issue-2446.rs
new file mode 100644 (file)
index 0000000..9d61b5d
--- /dev/null
@@ -0,0 +1,5 @@
+enum Issue2446 {
+    V {
+        f: u8, //
+    },
+}