Remove ResolvedOpaqueTy and just use Ty, SubstsRef is already there

This commit is contained in:
Santiago Pastorino
2021-06-07 14:40:47 -03:00
parent 7f8cad2019
commit 7294f49d52
8 changed files with 40 additions and 69 deletions

View File

@@ -211,7 +211,7 @@ pub struct BorrowCheckResult<'tcx> {
/// All the opaque types that are restricted to concrete types
/// by this function. Unlike the value in `TypeckResults`, this has
/// unerased regions.
pub concrete_opaque_types: VecMap<OpaqueTypeKey<'tcx>, ty::ResolvedOpaqueTy<'tcx>>,
pub concrete_opaque_types: VecMap<OpaqueTypeKey<'tcx>, Ty<'tcx>>,
pub closure_requirements: Option<ClosureRegionRequirements<'tcx>>,
pub used_mut_upvars: SmallVec<[Field; 8]>,
}