Function clippy_utils::ty::type_is_unsafe_function
source ยท pub fn type_is_unsafe_function<'tcx>(
cx: &LateContext<'tcx>,
ty: Ty<'tcx>,
) -> boolExpand description
Returns true if the given type is an unsafe function.