fn try_create_case_literal(
expr: &mut MirScalarExpr,
column_types: &[ReprColumnType],
)Expand description
Chain-walk rule: if node is an If-chain with >= 2 consecutive arms matching
Eq(same_expr, literal), create a new CaseLiteral.
fn try_create_case_literal(
expr: &mut MirScalarExpr,
column_types: &[ReprColumnType],
)Chain-walk rule: if node is an If-chain with >= 2 consecutive arms matching
Eq(same_expr, literal), create a new CaseLiteral.