rust/compiler/rustc_middle/src
bors 6db0a0e9a4 Auto merge of #91299 - cjgillot:expect-ldid, r=petrochenkov
Take a LocalDefId in expect_*item.

Items and item-likes are always HIR owners.
When trying to find such nodes, there is no ambiguity, the `LocalDefId` and the `HirId::owner` always match.
In such cases, `local_def_id_to_hir_id` does not carry any meaningful information, so we can just skip calling it altogether.
2021-11-29 15:02:01 +00:00
..
dep_graph Address review. 2021-10-20 18:51:15 +02:00
hir Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Remove unused root_parent. 2021-11-28 21:48:28 +01:00
mir Make TypeFoldable implementors short-circuit on error 2021-11-26 07:17:59 +00:00
query Auto merge of #90580 - cjgillot:no-ee-upvar, r=Aaron1011 2021-11-25 19:43:56 +00:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Add supertraits method to rustc_middle 2021-11-23 10:34:16 -08:00
ty Take a LocalDefId in expect_*item. 2021-11-28 21:09:45 +01:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Add some comments. 2021-11-19 07:52:59 +11:00
lib.rs Unwrap the results of type folders 2021-11-26 07:38:25 +00:00
lint.rs Simplify for loop desugar 2021-11-21 08:15:21 -06:00
macros.rs Make TypeFoldable implementors short-circuit on error 2021-11-26 07:17:59 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs rename mir -> thir around abstract consts 2021-09-09 01:32:03 +01:00