1
Fork 0
rust/compiler/rustc_hir/src
bors fe61575228 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.
2024-03-14 14:28:58 +00:00
..
arena.rs Remove unused arena kinds in rustc_hir and rustc_middle. 2023-11-20 15:05:26 +11:00
def.rs Some comment nits 2024-03-12 08:51:20 +00:00
def_path_hash_map.rs Do not store stable crate id in on-disk hash map. 2023-12-24 17:22:48 +00:00
definitions.rs rename RPITIT from opaque to synthetic 2024-02-27 17:43:40 +00:00
diagnostic_items.rs Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostly in rustc_hir and rustc_ast_lowering) 2023-12-18 21:03:32 +01:00
hir.rs Auto merge of #120943 - petrochenkov:somehir3, r=oli-obk 2024-03-14 14:28:58 +00:00
hir_id.rs Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
intravisit.rs Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu 2024-03-08 08:19:17 +01:00
lang_items.rs only set noalias on Box with the global allocator 2024-03-05 15:03:33 +01:00
lib.rs Remove unnecessary min_specialization after bootstrap 2024-02-10 18:15:11 +11:00
pat_util.rs Fix liveness analysis in the presence of never patterns 2024-02-21 12:04:39 +01:00
stable_hash_impls.rs Simplify BodyId hashing. 2024-01-16 23:52:30 +00:00
target.rs Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
tests.rs Replace two create_default_session_if_not_set_then uses. 2023-11-02 19:35:04 +11:00
weak_lang_items.rs Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00