rustc_trait_selection::error_reporting::infer::region

Function note_and_explain_region

Source
pub(super) fn note_and_explain_region<'tcx>(
    tcx: TyCtxt<'tcx>,
    err: &mut Diag<'_>,
    generic_param_scope: LocalDefId,
    prefix: &str,
    region: Region<'tcx>,
    suffix: &str,
    alt_span: Option<Span>,
)