Function rustc_trans::middle::ty::required_region_boundsExperimental [-]  [+] [src]

pub fn required_region_bounds(tcx: &ctxt<'tcx>, region_bounds: &[Region], builtin_bounds: EnumSet<BuiltinBound>, trait_bounds: &[Rc<TraitRef<'tcx>>]) -> Vec<Region>

Given a type which must meet the builtin bounds and trait bounds, returns a set of lifetimes which the type must outlive.

Requires that trait definitions have been processed.