Function rustc_mir_build::thir::pattern::check_match::maybe_point_at_variant

source ยท
fn maybe_point_at_variant<'a, 'p: 'a, 'tcx: 'p>(
    tcx: TyCtxt<'tcx>,
    def: AdtDef<'tcx>,
    patterns: impl Iterator<Item = &'a WitnessPat<'p, 'tcx>>
) -> Vec<Span>