]> git.lizzy.rs Git - rust.git/blob - src/test/ui/qualified/qualified-path-params-2.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / qualified / qualified-path-params-2.stderr
1 error[E0109]: type parameters are not allowed on this type
2   --> $DIR/qualified-path-params-2.rs:28:26
3    |
4 LL | type A = <S as Tr>::A::f<u8>;
5    |                          ^^ type parameter not allowed
6
7 error[E0223]: ambiguous associated type
8   --> $DIR/qualified-path-params-2.rs:28:10
9    |
10 LL | type A = <S as Tr>::A::f<u8>;
11    |          ^^^^^^^^^^^^^^^^^^^ ambiguous associated type
12    |
13    = note: specify the type using the syntax `<<S as Tr>::A as Trait>::f`
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0109, E0223.
18 For more information about an error, try `rustc --explain E0109`.