rustc_borrowck::nll

Function for_each_region_constraint

Source
fn for_each_region_constraint<'tcx>(
    tcx: TyCtxt<'tcx>,
    closure_region_requirements: &ClosureRegionRequirements<'tcx>,
    with_msg: &mut dyn FnMut(String) -> Result<()>,
) -> Result<()>