clippy_utils

Function is_else_clause_in_let_else

source
pub fn is_else_clause_in_let_else(tcx: TyCtxt<'_>, expr: &Expr<'_>) -> bool
Expand description

Checks if the given expression is the else clause of a let else expression