s/const_effect/host_effect
This commit is contained in:
parent
f1bf874fb1
commit
7467c3a45c
5 changed files with 10 additions and 9 deletions
|
@ -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())),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue