diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-29 04:42:21 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-01-08 18:14:58 +0000 |
| commit | c64f859521d9f86c96144f487201055b2146e19f (patch) | |
| tree | a49597a9703983eb8fbf57de699865668bd399a3 /compiler/rustc_next_trait_solver/src | |
| parent | 6afee111c2faf86ba884ea748967130abad37b52 (diff) | |
| download | rust-c64f859521d9f86c96144f487201055b2146e19f.tar.gz rust-c64f859521d9f86c96144f487201055b2146e19f.zip | |
Implement const Destruct 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 | 2 |
1 files changed, 2 insertions, 0 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 7da4f5e0107..3c5d9b95e77 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 @@ -712,6 +712,8 @@ pub(in crate::solve) fn extract_fn_def_from_const_callable<I: Interner>( } } +// NOTE: Keep this in sync with `evaluate_host_effect_for_destruct_goal` in +// the old solver, for as long as that exists. pub(in crate::solve) fn const_conditions_for_destruct<I: Interner>( cx: I, self_ty: I::Ty, |
