Function easy_plugin::extractor::expr_to_match []

pub fn expr_to_match(expr: &Expr) -> Result<(P<Expr>, Vec<Arm>), (Span, String)>

Returns the ExprKind::Match values in the supplied Expr.