fix: `infer_let` in the kernel This PR fixes the dead `let` elimination code in the kernel's `infer_let` function. Closes #10475
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.