blob: 0751b0a635b3e03072d2f2e4b43ca1308548a111 [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
}
)*
}
}
impl_add!(a b);
fn main() {}