blob: c7ce9b9faed09cc4b2651351d0f86b96a9a322b2 [file] [log] [blame] [edit]
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 unexpected generic arguments in path
}