rustc_trait_selection::error_reporting::infer::region

Function suggest_precise_capturing

source
fn suggest_precise_capturing<'tcx>(
    tcx: TyCtxt<'tcx>,
    opaque_def_id: LocalDefId,
    captured_lifetime: Region<'tcx>,
    diag: &mut Diag<'_>,
)