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
..
2021-02-14 18:03:11 +03:00
2021-02-15 16:07:00 +01:00
2021-02-14 22:26:21 +00:00
2021-02-16 22:14:32 +00:00
2021-02-16 00:31:11 +01:00
2021-02-16 00:31:11 +01:00
2021-02-15 19:24:58 +01:00
2021-02-14 23:41:10 -08:00
2021-02-16 22:14:32 +00:00
2021-02-15 12:11:59 +00:00
2021-02-15 19:32:10 +01:00
2021-02-15 19:16:39 +01:00
2021-02-15 16:07:09 +01:00
2021-02-15 19:36:13 +01:00
2021-02-16 22:14:32 +00:00
2021-02-15 19:36:12 +01:00
2021-02-16 22:14:32 +00:00
2021-02-15 19:32:30 +01:00
2021-02-15 19:35:55 +01:00
2021-02-16 22:14:32 +00:00
2021-02-16 22:14:32 +00:00
2021-02-16 22:14:32 +00:00
2021-02-14 16:54:52 +01:00
2021-02-14 22:26:21 +00:00
2021-02-15 19:36:12 +01:00
2021-02-15 19:32:10 +01:00
2021-02-15 19:35:55 +01:00
2021-02-15 12:11:59 +00:00
2021-02-16 22:14:32 +00:00
2021-02-15 19:32:29 +01:00
2021-02-14 18:03:11 +03:00
2021-02-16 22:14:32 +00:00
2021-02-15 19:36:12 +01:00
2021-02-16 00:31:11 +01:00
2021-02-15 16:06:47 +01:00
2021-02-14 16:54:52 +01:00
2021-02-16 22:14:32 +00:00
2021-02-16 22:14:32 +00:00