{"ast_node_type":"function","tokens":[{"end":70,"kind":"keyword","start":0,"text":"fn"}]}
fn type_for_fn(db: &dyn HirDatabase, def: FunctionId) -> Binders<Ty> {
/// function body.
    let generics = generics(db, def.into());