Function clippy_utils::ty::type_is_unsafe_function

source ยท
pub fn type_is_unsafe_function<'tcx>(
    cx: &LateContext<'tcx>,
    ty: Ty<'tcx>,
) -> bool
Expand description

Returns true if the given type is an unsafe function.