summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-87812-path.rs
blob: b88780876db064c7397d7abd10c05c354041eb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
macro_rules! foo {
    ( $f:path ) => {{
        let _: usize = $f; //~ERROR
    }};
}

struct Baz;

fn main() {
    foo!(Baz);
}