Move RegionKind to rustc_type_ir
This commit is contained in:
parent
8e430bfa9a
commit
1e9f8df6bb
12 changed files with 597 additions and 344 deletions
|
@ -574,7 +574,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
self,
|
||||
closure_def_id: DefId,
|
||||
closure_substs: SubstsRef<'tcx>,
|
||||
env_region: ty::RegionKind,
|
||||
env_region: ty::RegionKind<'tcx>,
|
||||
) -> Option<Ty<'tcx>> {
|
||||
let closure_ty = self.mk_closure(closure_def_id, closure_substs);
|
||||
let closure_kind_ty = closure_substs.as_closure().kind_ty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue