Function rustc::middle::resolve_lifetime::object_lifetime_defaults_for_item [−][src]
fn object_lifetime_defaults_for_item(
tcx: TyCtxt,
generics: &Generics
) -> Vec<ObjectLifetimeDefault>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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.