Function clippy_lints::utils::type_is_unsafe_function
[−]
[src]
pub fn type_is_unsafe_function<'a, 'tcx>(
cx: &LateContext<'a, 'tcx>,
ty: Ty<'tcx>
) -> bool
Return whether the given type is an unsafe
function.