summary refs log tree commit diff
path: root/src/test/ui/qualified-path-params-2.stderr
blob: 8b618cbf7ba9e665ebb8eac89b0ff02833feca44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>;
   |          ^^^^^^^^^^^^^^^^^^^ ambiguous associated type
   |
   = note: specify the type using the 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`.