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