1 use std::convert::TryInto;
14 impl<T, U> B<T, U> for S {}
17 let _ = A::foo::<S>();
19 //~| HELP remove these generics
20 //~| HELP consider moving this generic argument
22 let _ = B::bar::<S, S>();
24 //~| HELP remove these generics
25 //~| HELP consider moving these generic arguments
27 let _ = A::<S>::foo::<S>();
29 //~| HELP remove these generics
31 let _ = 42.into::<Option<_>>();
33 //~| HELP remove these generics
34 //~| HELP consider moving this generic argument