refactor: remove mkRecursorInfoForKernelRec it seems to be unused, arguably even for kernel recursors their type should be usable with `mkRecursorInfo`, and removing this will help understand the impact of #5679.
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean (documentation source: doc/make/index.md).