]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-23073.stderr
Rollup merge of #106829 - compiler-errors:more-alias-combine, r=spastorino
[rust.git] / tests / ui / issues / issue-23073.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/issue-23073.rs:6:17
3    |
4 LL |     type FooT = <<Self as Bar>::Foo>::T;
5    |                 ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 help: if there were a trait named `Example` with associated type `T` implemented for `<Self as Bar>::Foo`, you could use the fully-qualified path
8    |
9 LL |     type FooT = <<Self as Bar>::Foo as Example>::T;
10    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0223`.