summary refs log tree commit diff
path: root/src/test/ui/qualified/qualified-path-params-2.stderr
blob: 70aac7791035b5983b7e470cc9079dc4f6eed002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0109]: type parameters are not allowed on this type
  --> $DIR/qualified-path-params-2.rs:28:26
   |
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
   |
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`.