pub fn is_unsafe_fn<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description
Returns true
if ty
denotes an unsafe fn
.
pub fn is_unsafe_fn<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Returns true
if ty
denotes an unsafe fn
.