rust/src/test/ui/qualified/qualified-path-params-2.stderr

17 lines
570 B
Plaintext
Raw Normal View History

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