Skip to content

Commit

Permalink
Auto merge of rust-lang#104170 - cjgillot:hir-def-id, r=fee1-dead
Browse files Browse the repository at this point in the history
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 (rust-lang#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 rust-lang#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.
  • Loading branch information
bors committed Nov 17, 2022
2 parents 7f9ee73 + ed87efa commit 7e4d2c4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 7e4d2c4

Please sign in to comment.