clippy_utils::ty

Function has_drop

Source
pub fn has_drop<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description

Checks whether this type implements Drop.