fn early_bound_lifetimes_from_generics<'a, 'tcx, 'hir>(
    ccx: &CrateCtxt<'a, 'tcx>,
    ast_generics: &'hir hir::Generics)
    -> Vec<&'hir hir::LifetimeDef>
{
    ast_generics
        .lifetimes
        .iter()
        .filter(|l| !ccx.tcx.named_region_map.late_bound.contains(&l.lifetime.id))
        .collect()
}
/// Returns the early-bound lifetimes declared in this generics
/// listing.  For anything other than fns/methods, this is just all
/// the lifetimes that are declared. For fns or methods, we have to
/// screen out those that do not appear in any where-clauses etc using
/// `resolve_lifetime::early_bound_lifetimes`.
Returns the early-bound lifetimes declared in this generics
listing.  For anything other than fns/methods, this is just all
the lifetimes that are declared. For fns or methods, we have to
screen out those that do not appear in any where-clauses etc using
`resolve_lifetime::early_bound_lifetimes`.
Returns the early - bound lifetimes declared in this generics listing . For anything other than fns / methods this is just all the lifetimes that are declared . For fns or methods we have to screen out those that do not appear in any where - clauses etc using ` resolve_lifetime :: early_bound_lifetimes ` .
fn early_bound_lifetimes_from_generics<'a, 'tcx, 'hir>(
    ccx: &CrateCtxt<'a, 'tcx>,
    ast_generics: &'hir hir::Generics)
    -> Vec<&'hir hir::LifetimeDef>
{
    ast_generics
        .lifetimes
        .iter()
        .filter(|l| !ccx.tcx.named_region_map.late_bound.contains(&l.lifetime.id))
        .collect()
}
fn early_bound_lifetimes_from_generics < ' a , ' tcx , ' hir > ( ccx : & CrateCtxt < ' a , ' tcx > , ast_generics : & ' hir hir :: Generics ) -> Vec < & ' hir hir :: LifetimeDef > { ast_generics . lifetimes . iter ( ) . filter ( | l | ! ccx . tcx . named_region_map . late_bound . contains ( & l . lifetime . id ) ) . collect ( ) }
Returns the early-bound lifetimes declared in this generics
listing.
Returns the early - bound lifetimes declared in this generics listing .
ccx
&CrateCtxt<'a, 'tcx>
ast_generics
&'hir hir::Generics