mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` Also replace a few `hir_node()` calls with `hir_node_by_def_id()`. Follow up to https://github.com/rust-lang/rust/pull/120943.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.