We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a921a47 commit 6c1fc32Copy full SHA for 6c1fc32
src/abi/mod.rs
@@ -64,7 +64,7 @@ pub(crate) fn fn_sig_for_fn_abi<'tcx>(tcx: TyCtxt<'tcx>, instance: Instance<'tcx
64
ty::Generator(_, substs, _) => {
65
let sig = substs.as_generator().poly_sig();
66
67
- let env_region = ty::ReLateBound(ty::INNERMOST, ty::BrEnv);
+ let env_region = ty::ReLateBound(ty::INNERMOST, ty::BoundRegion { kind: ty::BrEnv });
68
let env_ty = tcx.mk_mut_ref(tcx.mk_region(env_region), ty);
69
70
let pin_did = tcx.require_lang_item(rustc_hir::LangItem::Pin, None);
0 commit comments