summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-43424.rs
blob: b3f76d8b049928cd01f0fb5e910f242a9d24f92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![allow(unused)]

macro_rules! m {
    ($attr_path: path) => {
        #[$attr_path]
        fn f() {}
    }
}

m!(inline<u8>); //~ ERROR: unexpected generic arguments in path

fn main() {}