fn has_at_least_two_arms(expr: &MirScalarExpr) -> boolExpand description
Returns true if the If-chain has at least 2 arms matching Eq(same_expr, literal).
Bails early once 2 are found to avoid unnecessary traversal.
fn has_at_least_two_arms(expr: &MirScalarExpr) -> boolReturns true if the If-chain has at least 2 arms matching Eq(same_expr, literal).
Bails early once 2 are found to avoid unnecessary traversal.