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.