lower_alt

Function lower_alt 

Source
fn lower_alt(mode: &OperatorMode, left: &Expr, alts: &[Hir]) -> Option<Expr>
Expand description

Calls lower_simple for each alternative and combine the results with or or and based on OperatorMode. Any fail attempt to lower an alternative will makes this function to return None.