summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-2810.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-2810.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-2810.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-2810.rs b/src/tools/rustfmt/tests/target/issue-2810.rs
new file mode 100644
index 000000000..34140c7a1
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-2810.rs
@@ -0,0 +1,14 @@
+// rustfmt-newline_style: Windows
+
+#[macro_export]
+macro_rules! hmmm___ffi_error {
+ ($result:ident) => {
+ pub struct $result {
+ success: bool,
+ }
+
+ impl $result {
+ pub fn foo(self) {}
+ }
+ };
+}