]> git.lizzy.rs Git - rust.git/blob - tests/source/issue_4675.rs
fix: use correct spans for params with attrs
[rust.git] / tests / source / issue_4675.rs
1 macro_rules! foo {
2     ($s:ident ( $p:pat )) => {
3         Foo {
4             name: Name::$s($p),
5             ..
6     }
7     };
8 }