rust/compiler/rustc_mir/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
..
borrow_check Auto merge of #81611 - cjgillot:meowner, r=estebank 2021-02-16 22:14:32 +00:00
const_eval Heat up the ICE-y error reporting 2021-02-13 14:42:30 +00:00
dataflow Remove RCs from Borrows 2021-02-08 20:37:16 +01:00
interpret validation: fix invalid-fn-ptr error message 2021-02-16 09:58:35 +01:00
monomorphize Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
transform Rollup merge of #81503 - henryboisdequin:fix-const-fn-arr-err-msg, r=estebank 2021-02-15 16:06:47 +01:00
util Fix MIR pretty printer for non-local DefIds 2021-02-13 20:23:27 +03:00
lib.rs Prevent query cycles during inlining 2021-01-23 16:51:22 +00:00
shim.rs Replace let Some(..) = with .is_some() 2021-01-17 19:06:12 -05:00