diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-26 17:31:41 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-26 17:32:53 +0000 |
| commit | ad747886704b256fe72aa97a35d36fb91401b610 (patch) | |
| tree | f446eaa3d96a8dc73e8c6da991ee69d4b1632d8b /compiler/rustc_next_trait_solver/src | |
| parent | 8282181e425d1a34f0c27c150f7fc91b892f73b2 (diff) | |
| download | rust-ad747886704b256fe72aa97a35d36fb91401b610.tar.gz rust-ad747886704b256fe72aa97a35d36fb91401b610.zip | |
Use bound_coroutine_witnesses in old solver
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
| -rw-r--r-- | compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs b/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs index 7b0996e02f0..93804b14125 100644 --- a/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs +++ b/compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs @@ -74,7 +74,7 @@ where ty::CoroutineWitness(def_id, args) => Ok(ecx .cx() - .bound_coroutine_hidden_types(def_id) + .coroutine_hidden_types(def_id) .instantiate(cx, args) .map_bound(|tys| tys.to_vec())), @@ -240,7 +240,7 @@ where // impl Copy/Clone for CoroutineWitness where T: Copy/Clone forall T in coroutine_hidden_types ty::CoroutineWitness(def_id, args) => Ok(ecx .cx() - .bound_coroutine_hidden_types(def_id) + .coroutine_hidden_types(def_id) .instantiate(ecx.cx(), args) .map_bound(|tys| tys.to_vec())), } |
