summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue_4675.rs
blob: a65f86832eefdd00124b36858c685c05c00506ce (plain)
1
2
3
4
5
6
7
8
macro_rules! foo {
    ($s:ident ( $p:pat )) => {
        Foo {
            name: Name::$s($p),
            ..
        }
    };
}