[−][src]Function rustc_resolve::late::lifetimes::object_lifetime_defaults_for_item

pub(in late::lifetimes) fn object_lifetime_defaults_for_item(
    tcx: TyCtxt<'_>,
    generics: &Generics<'_>
) -> Vec<ObjectLifetimeDefault>

Scan the bounds and where-clauses on parameters to extract bounds of the form T:'a so as to determine the ObjectLifetimeDefault for each type parameter.