Higher-ranked trait bounds on associated types are not elaborated #50346
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
A-traits
Area: Trait system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
This code works:
While this code fails:
This is probably related to #20671, but seems slightly different from the examples posited there. Specifically, the "standard" case (the first example) does work.
Also highly relevant: #44656 and #32722.
Tested with Rust 1.25.0 and 1.27.0-nightly (2018-04-29 79252ff)
The text was updated successfully, but these errors were encountered: