1 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
2 --> $DIR/move-generic-to-trait-in-method-with-params.rs:14:7
5 | ^^^ expected 0 generic arguments
7 note: associated function defined here, with 0 generic parameters
8 --> $DIR/move-generic-to-trait-in-method-with-params.rs:4:8
10 LL | fn bar(&self, _: T);
12 help: consider moving this generic argument to the `Foo` trait, which takes up to 1 argument
14 LL | Foo::<i32>::bar(1, 0);
15 | ~~~~~~~~~~~~~~~~~~~~~
16 help: remove these generics
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0107`.