rustc_mir_build::thir::pattern::check_match

Function collect_special_tys

Source
fn collect_special_tys<'tcx>(
    cx: &RustcPatCtxt<'_, 'tcx>,
    pat: &WitnessPat<'_, 'tcx>,
    special_tys: &mut FxIndexSet<RevealedTy<'tcx>>,
)
Expand description

Collect types that require specific explanations when they show up in witnesses.