Skip to main content

squash_inter_pat

Function squash_inter_pat 

Source
fn squash_inter_pat<'tcx>(
    inter_pat: InterPat<'tcx>,
    match_pairs: &mut Vec<MatchPairTree<'tcx>>,
    extra_data: &mut PatternExtraData<'tcx>,
)
Expand description

Recursively squashes an InterPat into a forest of refutable MatchPairTree nodes, while accumulating ascriptions and bindings.