rust/src/test/ui/issues/issue-53251.rs
Vadim Petrochenkov 642669c74d Update tests
2020-01-09 21:23:12 +03:00

22 lines
329 B
Rust

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() {}