{"ast_node_type":"function","tokens":[{"end":100,"kind":"keyword","start":0,"text":"fn"}]}
fn def_to_ty<'db>(sema: &Semantics<'db, RootDatabase>, def: &Definition) -> Option<hir::Type<'db>> {
    match def {