about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/transform
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-09 17:43:01 +0000
committerMichael Goulet <michael@errs.io>2023-12-09 17:43:08 +0000
commit7467c3a45c995fd47b70028b143be23f9616949d (patch)
tree8b1e2efc8d1da6ca6178ff25c57244408519e6d4 /compiler/rustc_const_eval/src/transform
parentf1bf874fb13703d706fc8184407c6df12555d8e9 (diff)
downloadrust-7467c3a45c995fd47b70028b143be23f9616949d.tar.gz
rust-7467c3a45c995fd47b70028b143be23f9616949d.zip
s/const_effect/host_effect
Diffstat (limited to 'compiler/rustc_const_eval/src/transform')
-rw-r--r--compiler/rustc_const_eval/src/transform/check_consts/qualifs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/transform/check_consts/qualifs.rs b/compiler/rustc_const_eval/src/transform/check_consts/qualifs.rs
index d5f418e1710..7e1cbfe6667 100644
--- a/compiler/rustc_const_eval/src/transform/check_consts/qualifs.rs
+++ b/compiler/rustc_const_eval/src/transform/check_consts/qualifs.rs
@@ -172,7 +172,7 @@ impl Qualif for NeedsNonConstDrop {
                 destruct_def_id,
                 [
                     ty::GenericArg::from(ty),
-                    ty::GenericArg::from(cx.tcx.expected_const_effect_param_for_body(cx.def_id())),
+                    ty::GenericArg::from(cx.tcx.expected_host_effect_param_for_body(cx.def_id())),
                 ],
             ),
         );