rustc_pattern_analysis::rustc

Function expand_or_pat

Source
fn expand_or_pat<'p, 'tcx>(pat: &'p Pat<'tcx>) -> Vec<&'p Pat<'tcx>>
Expand description

Recursively expand this pattern into its subpatterns. Only useful for or-patterns.