| 1 |
error[E0223]: ambiguous associated type |
| 2 |
--> tests/ui/associated-type.rs:15:15 |
| 3 |
| |
| 4 |
15 | fn f() -> Self::Assoc {} |
| 5 |
| ^^^^^^^^^^^ |
| 6 |
| |
| 7 |
help: use fully-qualified syntax |
| 8 |
| |
| 9 |
15 - fn f() -> Self::Assoc {} |
| 10 |
15 + fn f() -> <Struct as Trait>::Assoc {} |
| 11 |
| |