rust/compiler/rustc_ast_lowering/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
..
expr.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
item.rs Auto merge of #81611 - cjgillot:meowner, r=estebank 2021-02-16 22:14:32 +00:00
lib.rs Trait impls are Items, therefore HIR owners. 2021-02-15 19:36:13 +01:00
pat.rs Implement destructuring assignment for tuples 2020-11-07 13:17:19 +00:00
path.rs lowering of generic args in AssocTyConstraint 2021-02-04 16:20:58 +01:00