To enable improved accuracy of diagnostics in upcoming commits.
Diagnostic
hir().local_def_id_to_hir_id()
tcx.local_def_id_to_hir_id()