Skip to content

Commit 6c1fc32

Browse files
committed
Make BoundRegion have a kind of BoungRegionKind
1 parent a921a47 commit 6c1fc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub(crate) fn fn_sig_for_fn_abi<'tcx>(tcx: TyCtxt<'tcx>, instance: Instance<'tcx
6464
ty::Generator(_, substs, _) => {
6565
let sig = substs.as_generator().poly_sig();
6666

67-
let env_region = ty::ReLateBound(ty::INNERMOST, ty::BrEnv);
67+
let env_region = ty::ReLateBound(ty::INNERMOST, ty::BoundRegion { kind: ty::BrEnv });
6868
let env_ty = tcx.mk_mut_ref(tcx.mk_region(env_region), ty);
6969

7070
let pin_did = tcx.require_lang_item(rustc_hir::LangItem::Pin, None);

0 commit comments

Comments
 (0)