Skip to main content

is_drop_fn

Function is_drop_fn 

Source
pub fn is_drop_fn(tcx: TyCtxt<'_>, target: DefId) -> bool
Expand description

Identify drop, drop_in_place, and ManuallyDrop::drop. Slicing keeps these calls because they can end a value’s lifetime.