Start implementing needs_async_drop and related
This commit is contained in:
@@ -287,6 +287,10 @@ provide! { tcx, def_id, other, cdata,
|
||||
let _ = cdata;
|
||||
tcx.calculate_dtor(def_id, |_,_| Ok(()))
|
||||
}
|
||||
adt_async_destructor => {
|
||||
let _ = cdata;
|
||||
tcx.calculate_async_dtor(def_id, |_,_| Ok(()))
|
||||
}
|
||||
associated_item_def_ids => {
|
||||
tcx.arena.alloc_from_iter(cdata.get_associated_item_or_field_def_ids(def_id.index))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user