pub fn is_drop_fn(tcx: TyCtxt<'_>, target: DefId) -> bool
Identify drop, drop_in_place, and ManuallyDrop::drop. Slicing keeps these calls because they can end a value’s lifetime.
drop
drop_in_place
ManuallyDrop::drop