# Function rustc_trait_selection::infer::error_reporting::nice_region_error::suggest_new_region_bound

source ·

    pub fn suggest_new_region_bound(
        tcx: TyCtxt<'_>,
        err: &mut Diag<'_>,
        fn_returns: Vec<&Ty<'_>>,
        lifetime_name: String,
        arg: Option<String>,
        captures: String,
        param: Option<(Span, String)>,
        scope_def_id: Option<LocalDefId>,
    )