1 error[E0107]: missing generics for trait `IntoCow`
2 --> $DIR/ufcs-qpath-missing-params.rs:14:16
4 LL | <String as IntoCow>::into_cow("foo".to_string());
5 | ^^^^^^^ expected 1 generic argument
7 note: trait defined here, with 1 generic parameter: `B`
8 --> $DIR/ufcs-qpath-missing-params.rs:3:11
10 LL | pub trait IntoCow<'a, B: ?Sized> where B: ToOwned {
12 help: add missing generic argument
14 LL | <String as IntoCow<B>>::into_cow("foo".to_string());
17 error[E0107]: missing generics for trait `IntoCow`
18 --> $DIR/ufcs-qpath-missing-params.rs:17:16
20 LL | <String as IntoCow>::into_cow::<str>("foo".to_string());
21 | ^^^^^^^ expected 1 generic argument
23 note: trait defined here, with 1 generic parameter: `B`
24 --> $DIR/ufcs-qpath-missing-params.rs:3:11
26 LL | pub trait IntoCow<'a, B: ?Sized> where B: ToOwned {
28 help: add missing generic argument
30 LL | <String as IntoCow<B>>::into_cow::<str>("foo".to_string());
33 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
34 --> $DIR/ufcs-qpath-missing-params.rs:17:26
36 LL | <String as IntoCow>::into_cow::<str>("foo".to_string());
37 | ^^^^^^^^------- help: remove these generics
39 | expected 0 generic arguments
41 note: associated function defined here, with 0 generic parameters
42 --> $DIR/ufcs-qpath-missing-params.rs:4:8
44 LL | fn into_cow(self) -> Cow<'a, B>;
47 error: aborting due to 3 previous errors
49 For more information about this error, try `rustc --explain E0107`.