1 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
2 --> $DIR/issue-53251.rs:11:20
5 | ^------- help: remove these generics
7 | expected 0 generic arguments
10 | -------------- in this macro invocation
12 note: associated function defined here, with 0 generic parameters
13 --> $DIR/issue-53251.rs:4:8
17 = note: this error originates in the macro `impl_add` (in Nightly builds, run with -Z macro-backtrace for more info)
19 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
20 --> $DIR/issue-53251.rs:11:20
23 | ^------- help: remove these generics
25 | expected 0 generic arguments
28 | -------------- in this macro invocation
30 note: associated function defined here, with 0 generic parameters
31 --> $DIR/issue-53251.rs:4:8
35 = note: this error originates in the macro `impl_add` (in Nightly builds, run with -Z macro-backtrace for more info)
37 error: aborting due to 2 previous errors
39 For more information about this error, try `rustc --explain E0107`.