Function clippy_utils::ty::has_drop
source · pub fn has_drop<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description
Checks whether this type implements Drop
.
pub fn has_drop<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Checks whether this type implements Drop
.