about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-14 14:28:58 +0000
committerbors <bors@rust-lang.org>2024-03-14 14:28:58 +0000
commitfe6157522848604562f83084154274c545fe3a27 (patch)
tree4fae6e34534fcbb3974f154ff8a4de8737ce1020 /compiler/rustc_parse/src
parentc2fbe404d21572a04dabc6a0e23eb3ab367832ad (diff)
parentb6312eb943e8d79a54312f4951e049c5bc23d0ba (diff)
downloadrust-fe6157522848604562f83084154274c545fe3a27.tar.gz
rust-fe6157522848604562f83084154274c545fe3a27.zip
Auto merge of #120943 - petrochenkov:somehir3, r=oli-obk
Create some minimal HIR for associated opaque types

`LocalDefId`s for opaque types in traits and impls are created after AST -> HIR lowering, so they don't have corresponding HIR and return their various properties through fed queries.

In this PR I also feed some core HIR-related queries for these `LocalDefId`s (which happen to be HIR owners).
As a result all `LocalDefId`s now have corresponding `HirId`s and HIR nodes, and "optional" methods like `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` can be removed.

Follow up to https://github.com/rust-lang/rust/pull/120206.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions