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