fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0107]: associated function takes 0 generic arguments but 1 generic argument was supplied 2 --> $DIR/issue-53251.rs:11:20 3 | 4LL | S::f::<i64>(); 5 | ^------- help: remove these generics 6 | | 7 | expected 0 generic arguments 8... 9LL | impl_add!(a b); 10 | -------------- in this macro invocation 11 | 12note: associated function defined here, with 0 generic parameters 13 --> $DIR/issue-53251.rs:4:8 14 | 15LL | fn f() {} 16 | ^ 17 = note: this error originates in the macro `impl_add` (in Nightly builds, run with -Z macro-backtrace for more info) 18 19error[E0107]: associated function takes 0 generic arguments but 1 generic argument was supplied 20 --> $DIR/issue-53251.rs:11:20 21 | 22LL | S::f::<i64>(); 23 | ^------- help: remove these generics 24 | | 25 | expected 0 generic arguments 26... 27LL | impl_add!(a b); 28 | -------------- in this macro invocation 29 | 30note: associated function defined here, with 0 generic parameters 31 --> $DIR/issue-53251.rs:4:8 32 | 33LL | fn f() {} 34 | ^ 35 = note: this error originates in the macro `impl_add` (in Nightly builds, run with -Z macro-backtrace for more info) 36 37error: aborting due to 2 previous errors 38 39For more information about this error, try `rustc --explain E0107`.