summary refs log tree commit diff
path: root/src/test/ui/qualified/qualified-path-params-2.stderr
blob: 4e073841b9740cf32cc5962ed0bfe248b92f1451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0109]: type arguments are not allowed on this entity
  --> $DIR/qualified-path-params-2.rs:18:26
   |
LL | type A = <S as Tr>::A::f<u8>;
   |                          ^^ type argument not allowed

error[E0223]: ambiguous associated type
  --> $DIR/qualified-path-params-2.rs:18:10
   |
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

Some errors occurred: E0109, E0223.
For more information about an error, try `rustc --explain E0109`.