blob: 309b9800b7d37a0df3b626b2fb2a0f7edfeae022 [file] [log] [blame]
// ignore-tidy-linelength
struct S;
impl S {
fn f() {}
}
macro_rules! impl_add {
($($n:ident)*) => {
$(
fn $n() {
S::f::<i64>();
//~^ ERROR this associated function takes 0 type arguments but 1 type argument was supplied
//~| ERROR this associated function takes 0 type arguments but 1 type argument was supplied
}
)*
}
}
impl_add!(a b);
fn main() { }