fn generics_require_inlining(generics: &ty::Generics) -> bool {
    for param in &generics.params {
        match param.kind {
            GenericParamDefKind::Lifetime { .. } => {}
            GenericParamDefKind::Type { .. } => return true,
        }
    }
    false
}
// Returns true if the given set of generics implies that the item it's
// associated with must be inlined.
Returns true if the given set of generics implies that the item it's
associated with must be inlined.
Returns true if the given set of generics implies that the item it ' s associated with must be inlined .
fn generics_require_inlining(generics: &ty::Generics) -> bool {
    for param in &generics.params {
        match param.kind {
            GenericParamDefKind::Lifetime { .. } => {}
            GenericParamDefKind::Type { .. } => return true,
        }
    }
    false
}
fn generics_require_inlining ( generics : & ty :: Generics ) -> bool { for param in & generics . params { match param . kind { GenericParamDefKind :: Lifetime { .. } => { } GenericParamDefKind :: Type { .. } => return true , } } false }
Returns true if the given set of generics implies that the item it's
associated with must be inlined.
Returns true if the given set of generics implies that the item it ' s associated with must be inlined .
generics
&ty::Generics