rust/compiler/rustc_infer/src/infer
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
..
canonical yeet ya fixme into the void 2021-02-13 19:10:08 +00:00
error_reporting Auto merge of #81611 - cjgillot:meowner, r=estebank 2021-02-16 22:14:32 +00:00
higher_ranked Make BoundRegion have a kind of BoungRegionKind 2020-12-18 15:27:28 -05:00
lexical_region_resolve tidy: Run tidy style against markdown files. 2021-02-04 09:01:50 -08:00
nll_relate yeet ya fixme into the void 2021-02-13 19:10:08 +00:00
outlives More review comments 2021-01-16 18:56:37 -05:00
region_constraints mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
at.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
combine.rs param_env debugs are instrumental to rustc's success 2021-02-14 11:18:40 +00:00
equate.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
free_regions.rs use matches!() macro in more places 2020-12-24 13:35:12 +01:00
freshen.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
fudge.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
glb.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lattice.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lub.rs don't clone types that are copy (clippy::clone_on_copy) 2020-09-10 13:26:36 +02:00
mod.rs Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
resolve.rs Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
sub.rs Review changes 2021-01-16 18:56:37 -05:00
type_variable.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
undo_log.rs Fix typo in rustc_infer::infer::UndoLog 2021-02-15 10:02:03 -08:00