add EarlyBinder to return type of collect_return_position_impl_trait_in_trait_tys query; remove bound_X version

This commit is contained in:
Kyle Matsuda 2023-04-17 11:46:01 -06:00
parent de96f3d873
commit 522bc5f817
8 changed files with 18 additions and 20 deletions

View file

@ -806,7 +806,9 @@ impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx UnordSet<LocalDefId>
}
}
impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx FxHashMap<DefId, Ty<'tcx>> {
impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>>
for &'tcx FxHashMap<DefId, ty::EarlyBinder<Ty<'tcx>>>
{
fn decode(d: &mut CacheDecoder<'a, 'tcx>) -> Self {
RefDecodable::decode(d)
}