about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-31 14:23:44 +0000
committerbors <bors@rust-lang.org>2022-01-31 14:23:44 +0000
commit24b8bb13bff98bb747cd403b86596af43aceee78 (patch)
tree9cb2ad93d3cfa188d87785b2d1f3b914abb63dc3 /compiler/rustc_interface/src
parent86f5e177bca8121e1edc9864023a8ea61acf9034 (diff)
parentbf1ca2e4b01b9930d29064b1d170a9ead0415fa2 (diff)
downloadrust-24b8bb13bff98bb747cd403b86596af43aceee78.tar.gz
rust-24b8bb13bff98bb747cd403b86596af43aceee78.zip
Auto merge of #93373 - spastorino:def_id_to_hir_id_refactor, r=oli-obk
Store def_id_to_hir_id as variant in hir_owner.

If hir_owner is Owner(_), the LocalDefId is pointing to an owner, so the ItemLocalId is 0.
If the HIR node does not exist, we store Phantom.
Otherwise, we store the HirId associated to the LocalDefId.

Related to #89278

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions