rework TraitSelect to avoid a vec and just use two def-ids

This commit is contained in:
Nicholas Nethercote 2016-11-04 17:31:52 +11:00 committed by Niko Matsakis
parent dc0bb3f283
commit 4749175ced
3 changed files with 56 additions and 23 deletions

View file

@ -208,7 +208,8 @@ impl<'gcx> DepTrackingMapConfig for ProjectionCache<'gcx> {
_ => None,
})
.collect();
DepNode::TraitSelect(def_ids)
DepNode::ProjectionCache { def_ids: def_ids }
}
}