tests: add case for issue 4675
This commit is contained in:
parent
f0fe48f2bd
commit
d80a42fdd8
8
tests/source/issue_4675.rs
Normal file
8
tests/source/issue_4675.rs
Normal file
@ -0,0 +1,8 @@
|
||||
macro_rules! foo {
|
||||
($s:ident ( $p:pat )) => {
|
||||
Foo {
|
||||
name: Name::$s($p),
|
||||
..
|
||||
}
|
||||
};
|
||||
}
|
8
tests/target/issue_4675.rs
Normal file
8
tests/target/issue_4675.rs
Normal file
@ -0,0 +1,8 @@
|
||||
macro_rules! foo {
|
||||
($s:ident ( $p:pat )) => {
|
||||
Foo {
|
||||
name: Name::$s($p),
|
||||
..
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user