Skip to content

Commit f2c31ba

Browse files
ytmimicalebcartwright
authored andcommitted
Add tests for issue 2534
Closes 2534 The behavior described in the original issue can no longer be reproduced. The tests show that to be the case regardless of if `format_macro_matchers` is `true` or `false`.
1 parent 05332b8 commit f2c31ba

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// rustfmt-format_macro_matchers: false
2+
3+
macro_rules! foo {
4+
($a:ident : $b:ty) => {};
5+
($a:ident $b:ident $c:ident) => {};
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// rustfmt-format_macro_matchers: true
2+
3+
macro_rules! foo {
4+
($a:ident : $b:ty) => {};
5+
($a:ident $b:ident $c:ident) => {};
6+
}

0 commit comments

Comments
 (0)