clippy_utils::ty::type_certainty

Function expr_type_is_certain

Source
pub fn expr_type_is_certain(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool