- Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-langRelevant to the language teamRelevant to the language team
Description
See https://github.com/sdroege/rust-associated-types-from-other-crate-projection-bug
The following are the relevant parts of the code:
In summary it seems like impl Something<<Foo as Mapper>::OtherType> for Baz {} works fine as long as Foo is defined in the same crate, otherwise it maps the Foo (for whatever reason) to Baz itself.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-langRelevant to the language teamRelevant to the language team