Function rustc::middle::ty::accumulate_lifetimes_in_typeUnstable [-] [+] [src]

pub fn accumulate_lifetimes_in_type(accumulator: &mut Vec<Region>, ty: Ty)

Pushes all the lifetimes in the given type onto the given list. A "lifetime in a type" is a lifetime specified by a reference or a lifetime in a list of type substitutions. This does not traverse into nominal types, nor does it resolve fictitious types.