Associated type resolution picks wrong type #22841
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-typesystem
Area: The type system
To me it looks like all the function signatures try to produce
Dfs<G::NodeId, G::Map>
, but rustc thinks I produceDfs<G::Map, G::Map>
and throws a type error. (The associated types are part of different traits, that inherit.)rustc version:
rustc 1.0.0-nightly (4db0b3246 2015-02-25) (built 2015-02-26)
Testcase, derived from this repo.
The text was updated successfully, but these errors were encountered: