Function clippy_utils::is_never_expr
source ยท pub fn is_never_expr<'tcx>(
cx: &LateContext<'tcx>,
e: &'tcx Expr<'_>,
) -> Option<RequiresSemi>
Expand description
Check if the expression return !
, a type coerced from !
, or could return !
if the final
expression were turned into a statement.