blob: 017d5152221bfc84164329357a138fd03227bf7f [file] [log] [blame] [edit]
// issue#123911
// issue#123912
macro_rules! m {
($p: path) => {
#[$p]
struct S;
};
}
macro_rules! p {
() => {};
}
m!(generic<p!()>);
//~^ ERROR: unexpected generic arguments in path
//~| ERROR: cannot find attribute `generic` in this scope
fn main() {}