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

pub fn required_region_bounds<'tcx>(tcx: &ctxt<'tcx>, region_bounds: &[Region], builtin_bounds: BuiltinBounds, 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.