1
Fork 0
rust/compiler/rustc_hir_analysis/src
bors 7c75fe4c85 Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-dead
Record `LocalDefId` in HIR nodes instead of a side table

This is part of an attempt to remove the `HirId -> LocalDefId` table from HIR.
This attempt is a prerequisite to creation of `LocalDefId` after HIR lowering (https://github.com/rust-lang/rust/pull/96840), by controlling how `def_id` information is accessed.

This first part adds the information to HIR nodes themselves instead of a table.
The second part is https://github.com/rust-lang/rust/pull/103902
The third part will be to make `hir::Visitor::visit_fn` take a `LocalDefId` as last parameter.
The fourth part will be to completely remove the side table.
2022-11-17 07:42:27 +00:00
..
astconv Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-dead 2022-11-17 07:42:27 +00:00
check Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-dead 2022-11-17 07:42:27 +00:00
coherence Add rustc_deny_explicit_impl 2022-11-14 03:23:41 +00:00
collect Store a LocalDefId in hir::AnonConst. 2022-11-13 14:06:11 +00:00
impl_wf_check Apply PR feedback. 2022-11-10 12:56:33 -06:00
outlives Store a LocalDefId in hir::GenericParam. 2022-11-13 14:05:30 +00:00
structured_errors
variance Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
bounds.rs
check_unused.rs Rollup merge of #103618 - nnethercote:rename-OwnerId-fields, r=compiler-errors 2022-10-29 14:18:03 +02:00
collect.rs Store a LocalDefId in hir::Variant & hir::Field. 2022-11-13 14:06:51 +00:00
constrained_generic_params.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
errors.rs Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
hir_wf_check.rs Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
impl_wf_check.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
lib.rs Move fallback_has_occurred to FnCtxt 2022-11-06 02:40:25 +00:00
structured_errors.rs