1 // Generalizes the suggestion introduced in #100838
7 impl Foo<i32> for i32 {
8 fn bar(&self, x: i32) {
9 println!("{}", self + x);
15 //~^ ERROR this associated function takes 0 generic arguments but 1 generic argument was supplied
16 //~| HELP consider moving this generic argument to the `Foo` trait, which takes up to 1 argument
17 //~| HELP remove these generics