diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-20 10:28:31 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-05-20 11:50:25 +0000 |
| commit | 6555ef7f09a5b23a8eea05cba499a5b9fd16909a (patch) | |
| tree | 17f8613bd23928768da0c4dcd5ae458689d4ade2 /compiler/rustc_trait_selection/src | |
| parent | f8e9e7636aabcbc29345d9614432d15b3c0c4ec7 (diff) | |
Querify coroutine_hidden_types
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/select/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index 44a76f6e083..549aed908f3 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -2866,7 +2866,7 @@ fn rebind_coroutine_witness_types<'tcx>( let shifted_coroutine_types = tcx.shift_bound_var_indices(bound_vars.len(), bound_coroutine_types.skip_binder()); ty::Binder::bind_with_vars( - ty::EarlyBinder::bind(shifted_coroutine_types.to_vec()).instantiate(tcx, args), + ty::EarlyBinder::bind(shifted_coroutine_types.types.to_vec()).instantiate(tcx, args), tcx.mk_bound_variable_kinds_from_iter( bound_vars.iter().chain(bound_coroutine_types.bound_vars()), ), |
