about summary refs log tree commit diff
path: root/compiler/rustc_traits
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-05-19 10:14:48 +0000
committerMichael Goulet <michael@errs.io>2025-07-15 15:58:08 +0000
commit7976ca2442db9b69a7949b5fd6afcf8894441afa (patch)
treeee0b1ea1bb2f9f704d4cc2744d1325687a4964af /compiler/rustc_traits
parente27f16a499074ba9a87f7f7641d9f64c572863bc (diff)
downloadrust-7976ca2442db9b69a7949b5fd6afcf8894441afa.tar.gz
rust-7976ca2442db9b69a7949b5fd6afcf8894441afa.zip
Add outlives to CoroutineWitnessTypes
Diffstat (limited to 'compiler/rustc_traits')
-rw-r--r--compiler/rustc_traits/src/coroutine_witnesses.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_traits/src/coroutine_witnesses.rs b/compiler/rustc_traits/src/coroutine_witnesses.rs
index 447e13126cc..c1573ba7641 100644
--- a/compiler/rustc_traits/src/coroutine_witnesses.rs
+++ b/compiler/rustc_traits/src/coroutine_witnesses.rs
@@ -29,9 +29,8 @@ pub(crate) fn coroutine_hidden_types<'tcx>(
                 ty
             }),
     );
-
     ty::EarlyBinder::bind(ty::Binder::bind_with_vars(
-        ty::CoroutineWitnessTypes { types: bound_tys },
+        ty::CoroutineWitnessTypes { types: bound_tys, assumptions: ty::List::empty() },
         tcx.mk_bound_variable_kinds(&vars),
     ))
 }