Closed
Description
In preparation for ATC, we should refactor ProjectionTy
to store the DefId
of the trait associated item along with a set of substs for that item. (Currently, it stores a trait-ref (trait def-id + substs) and item name.) Currently, these substs will always be the same as the substs for the trait, but once ATC lands they will include additional items.
cc @tschottdorf, who has started in on this
cc @eddyb, who has a vague interest in this :)