Files
rust/compiler/rustc_span/src
bors 8fe989dd76 Auto merge of #81611 - cjgillot:meowner, r=estebank
Only store a LocalDefId in some HIR nodes

Some HIR nodes are guaranteed to be HIR owners: Item, TraitItem, ImplItem, ForeignItem and MacroDef.
As a consequence, we do not need to store the `HirId`'s `local_id`, and we can directly store a `LocalDefId`.

This allows to avoid a bit of the dance with `tcx.hir().local_def_id` and `tcx.hir().local_def_id_to_hir_id` mappings.
2021-02-16 22:14:32 +00:00
..
2020-08-30 18:45:07 +03:00
2020-12-03 17:08:19 -05:00
2020-12-31 19:06:09 +01:00
2020-08-30 18:45:07 +03:00
2020-12-25 14:02:52 -08:00
2021-02-04 04:54:23 +03:00
2020-12-25 14:02:52 -08:00
2020-08-30 18:45:07 +03:00