c5d1b3ea96
Optimize `mk_region` PR #107869 avoiding some interning under `mk_ty` by special-casing `Ty` variants with simple (integer) bodies. This PR does something similar for regions. r? `@compiler-errors`
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.