about summary refs log tree commit diff
path: root/tests/ui/macros/genercs-in-path-with-prettry-hir.rs
blob: e6773f610da30071c1983a7f470a3ba81329829e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ compile-flags: -Zunpretty=hir
//@ edition: 2015

// issue#97006

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

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

fn main() {}