rust/src/test/ui/issues/issue-53251.rs
2018-12-25 21:08:33 -07:00

21 lines
271 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
}
)*
}
}
impl_add!(a b);
fn main() {}