#![allow(unused)] macro_rules! m { ($attr_path: path) => { #[$attr_path] fn f() {} } } m!(inline); //~ ERROR: unexpected generic arguments in path fn main() {}