summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/abi
diff options
context:
space:
mode:
authorJack Huey <jack.huey@umassmed.edu>2020-12-18 13:24:55 -0500
committerJack Huey <jack.huey@umassmed.edu>2020-12-18 15:27:28 -0500
commit328fcee4af7aed31343244206abb7dff25106d04 (patch)
treedeff8511791d41c17be65096e45d447de8fcc6a3 /compiler/rustc_codegen_cranelift/src/abi
parent6340607acaab10eed3cf11ef7ad3564db58ec981 (diff)
downloadrust-328fcee4af7aed31343244206abb7dff25106d04.tar.gz
rust-328fcee4af7aed31343244206abb7dff25106d04.zip
Make BoundRegion have a kind of BoungRegionKind
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/abi')
-rw-r--r--compiler/rustc_codegen_cranelift/src/abi/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/mod.rs b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
index aee274ab4a8..76e1987459f 100644
--- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs
+++ b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
@@ -64,7 +64,7 @@ pub(crate) fn fn_sig_for_fn_abi<'tcx>(tcx: TyCtxt<'tcx>, instance: Instance<'tcx
         ty::Generator(_, substs, _) => {
             let sig = substs.as_generator().poly_sig();
 
-            let env_region = ty::ReLateBound(ty::INNERMOST, ty::BrEnv);
+            let env_region = ty::ReLateBound(ty::INNERMOST, ty::BoundRegion { kind: ty::BrEnv });
             let env_ty = tcx.mk_mut_ref(tcx.mk_region(env_region), ty);
 
             let pin_did = tcx.require_lang_item(rustc_hir::LangItem::Pin, None);