rust/compiler/rustc_passes
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
..
src Auto merge of #91299 - cjgillot:expect-ldid, r=petrochenkov 2021-11-29 15:02:01 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00