Module needs_drop

Source
Expand description

Check whether a type has (potentially) non-trivial drop glue.

Structsยง

NeedsDropTypes ๐Ÿ”’

Enumsยง

DtorType ๐Ÿ”’

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 around needs_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 ๐Ÿ”’

Type Aliasesยง

NeedsDropResult ๐Ÿ”’