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