Function rustc_mir_build::build::matches::util::visit_bindings

source ยท
pub(super) fn visit_bindings<'tcx>(
    candidates: &[&mut Candidate<'_, 'tcx>],
    f: impl FnMut(&Binding<'tcx>),
)
Expand description

Visit all the bindings of these candidates. Because or-alternatives bind the same variables, we only explore the first one of each or-pattern.