rust/compiler/rustc_hir_analysis
bors c5d1b3ea96 Auto merge of #108020 - nnethercote:opt-mk_region, r=compiler-errors
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`
2023-02-16 16:11:54 +00:00
..
2023-02-06 17:40:18 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.