]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/target/space-not-before-newline.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / target / space-not-before-newline.rs
diff --git a/src/tools/rustfmt/tests/target/space-not-before-newline.rs b/src/tools/rustfmt/tests/target/space-not-before-newline.rs
new file mode 100644 (file)
index 0000000..9d75b72
--- /dev/null
@@ -0,0 +1,8 @@
+struct Foo {
+    a: (),
+    // spaces ^^^ to be removed
+}
+enum Foo {
+    Bar,
+    // spaces ^^^ to be removed
+}