2017-12-10 22:47:55 +03:00
|
|
|
error[E0223]: ambiguous associated type
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/qualified-path-params-2.rs:18:10
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type A = <S as Tr>::A::f<u8>;
|
2023-01-08 06:54:52 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: if there were a trait named `Example` with associated type `f` implemented for `<S as Tr>::A`, you could use the fully-qualified path
|
|
|
|
|
|
|
|
|
LL | type A = <<S as Tr>::A as Example>::f;
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2017-12-10 22:47:55 +03:00
|
|
|
|
2019-12-08 17:22:35 +00:00
|
|
|
error: aborting due to previous error
|
2017-12-10 22:47:55 +03:00
|
|
|
|
2019-12-08 17:22:35 +00:00
|
|
|
For more information about this error, try `rustc --explain E0223`.
|