Function rustc_lint::builtin::is_null_ptr
source · fn is_null_ptr(cx: &LateContext<'_>, expr: &Expr<'_>) -> boolExpand description
test if expression is a null ptr
fn is_null_ptr(cx: &LateContext<'_>, expr: &Expr<'_>) -> booltest if expression is a null ptr