1 An attempt was made to retrieve an associated type, but the type was ambiguous.
3 Erroneous code example:
21 In this example, `Foo` defines an associated type `A`. `Bar` inherits that type
22 from `Foo`, and defines another associated type of the same name. As a result,
23 when we attempt to use `Self::A`, it's ambiguous whether we mean the `A` defined
24 by `Foo` or the one defined by `Bar`.
26 There are two options to work around this issue. The first is simply to rename
27 one of the types. Alternatively, one can specify the intended type using the
41 let _: <Self as Bar>::A;