Skip to content

Commit

Permalink
tests: add case for issue 4675
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Jan 29, 2021
1 parent f0fe48f commit d80a42f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/source/issue_4675.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
macro_rules! foo {
($s:ident ( $p:pat )) => {
Foo {
name: Name::$s($p),
..
}
};
}
8 changes: 8 additions & 0 deletions tests/target/issue_4675.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
macro_rules! foo {
($s:ident ( $p:pat )) => {
Foo {
name: Name::$s($p),
..
}
};
}

0 comments on commit d80a42f

Please sign in to comment.