summary refs log tree commit diff
path: root/src/test/ui/issues/issue-53251.rs
blob: b5d55141b7509bc1649c60e41652ade6d0c614bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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() {}