1 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
2 --> $DIR/issue-101421.rs:10:8
5 | ^------ help: remove these generics
7 | expected 0 generic arguments
9 note: associated function defined here, with 0 generic parameters
10 --> $DIR/issue-101421.rs:2:8
12 LL | fn f(&self, _: ());
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0107`.