Start implementing needs_async_drop and related
This commit is contained in:
parent
e0904cd6a9
commit
a47173c4f7
10 changed files with 196 additions and 110 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue