{"ast_node_type":"other","tokens":[{"end":15,"kind":"keyword","start":0,"text":"match"}]}
    match def {
fn def_to_ty<'db>(sema: &Semantics<'db, RootDatabase>, def: &Definition) -> Option<hir::Type<'db>> {
        Definition::Adt(adt) => Some(adt.ty(sema.db)),