{"ast_node_type":"function","tokens":[{"end":70,"kind":"keyword","start":0,"text":"pub"}]}
pub fn generics(db: &dyn DefDatabase, def: GenericDefId) -> Generics {
    let parent_generics = parent_generic_def(db, def).map(|def| Box::new(generics(db, def)));