{"ast_node_type":"function","tokens":[{"end":95,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn as_trait_assoc_def(db: &dyn HirDatabase, def: Definition) -> Option<Definition> {
/// If this is an trait (impl) assoc item, returns the assoc item of the corresponding trait definition.
    let assoc = def.as_assoc_item(db)?;