{"ast_node_type":"function","tokens":[{"end":87,"kind":"keyword","start":0,"text":"fn"}]}
fn receiver_for_self_ty(db: &dyn HirDatabase, func: FunctionId, ty: Ty) -> Option<Ty> {
    let generics = generics(db, func.into());