Expand description
Check whether a type has (potentially) non-trivial drop glue.
Structs§
Enums§
- Dtor
Type 🔒
Functions§
- adt_
consider_ 🔒insignificant_ dtor - adt_
drop_ 🔒tys - adt_
significant_ 🔒drop_ tys - drop_
tys_ 🔒helper - filter_
array_ 🔒elements - HACK: in order to not mistakenly assume that
[PhantomData<T>; N]
requires drop glue we check the element type for drop glue. The correct fix would be looking at the entirety of the code aroundneeds_drop_components
and this file and come up with logic that is easier to follow while not repeating any checks that may thus diverge. - has_
significant_ 🔒drop_ raw - list_
significant_ 🔒drop_ tys - needs_
async_ 🔒drop_ raw - needs_
drop_ 🔒raw - provide 🔒