2017-12-10 22:47:55 +03:00
|
|
|
error[E0109]: type parameters are not allowed on this type
|
|
|
|
--> $DIR/qualified-path-params-2.rs:28:26
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type A = <S as Tr>::A::f<u8>;
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^ type parameter not allowed
|
|
|
|
|
|
|
|
error[E0223]: ambiguous associated type
|
|
|
|
--> $DIR/qualified-path-params-2.rs:28:10
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | type A = <S as Tr>::A::f<u8>;
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ ambiguous associated type
|
|
|
|
|
|
|
|
|
= note: specify the type using the syntax `<<S as Tr>::A as Trait>::f`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
Some errors occurred: E0109, E0223.
|
|
|
|
For more information about an error, try `rustc --explain E0109`.
|