blob: b5d55141b7509bc1649c60e41652ade6d0c614bf [file] [log] [blame]
struct S;
impl S {
fn f() {}
}
macro_rules! impl_add {
($($n:ident)*) => {
$(
fn $n() {
S::f::<i64>();
//~^ ERROR wrong number of type arguments
//~| ERROR wrong number of type arguments
}
)*
}
}
impl_add!(a b);
fn main() {}