Fix disabling the export of noop async_drop_in_place_raw
This commit is contained in:
parent
80c0b7e90f
commit
e239e73a77
9 changed files with 53 additions and 30 deletions
|
@ -57,7 +57,7 @@ fn resolve_instance<'tcx>(
|
|||
} else if Some(def_id) == tcx.lang_items().async_drop_in_place_fn() {
|
||||
let ty = args.type_at(0);
|
||||
|
||||
if ty.is_async_destructor_noop(tcx, param_env) {
|
||||
if !ty.is_async_destructor_noop(tcx, param_env) {
|
||||
match *ty.kind() {
|
||||
ty::Closure(..)
|
||||
| ty::CoroutineClosure(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue