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

fn object_lifetime_defaults_for_item(
    tcx: TyCtxt<'_>,
    generics: &Generics<'_>
) -> Vec<ObjectLifetimeDefault>
Expand description

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.