blob: 713b9eb542cfac9e3be6a637f5a7a2a10c7d3119 [file] [log] [blame]
macro_rules! m {
($p1: path) => {
#[derive($p1)] struct U;
}
}
macro_rules! foo { () => () }
fn main() {
foo::<T>!(); //~ ERROR generic arguments in macro path
foo::<>!(); //~ ERROR generic arguments in macro path
m!(Default<>); //~ ERROR generic arguments in macro path
}