s/const_effect/host_effect

This commit is contained in:
Michael Goulet 2023-12-09 17:43:01 +00:00
parent f1bf874fb1
commit 7467c3a45c
5 changed files with 10 additions and 9 deletions

View file

@ -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())),
],
),
);