]> git.lizzy.rs Git - rust.git/blob - tests/ui/qualified/qualified-path-params-2.stderr
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / ui / qualified / qualified-path-params-2.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/qualified-path-params-2.rs:18:10
3    |
4 LL | type A = <S as Tr>::A::f<u8>;
5    |          ^^^^^^^^^^^^^^^^^^^
6    |
7 help: if there were a trait named `Example` with associated type `f` implemented for `<S as Tr>::A`, you could use the fully-qualified path
8    |
9 LL | type A = <<S as Tr>::A as Example>::f;
10    |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0223`.