//@ compile-flags: -Zunpretty=hir // issue#97006 macro_rules! m { ($attr_path: path) => { #[$attr_path] fn f() {} } } m!(inline); //~ ERROR: unexpected generic arguments in path fn main() {}