Use DefIdMap instead of FxHashMap for impl_item_implementor_ids query.

This commit is contained in:
Michael Woerister 2023-02-21 11:35:19 +01:00
parent 5983a3a99e
commit 5ff00f96e6
2 changed files with 3 additions and 4 deletions

View file

@ -757,7 +757,7 @@ rustc_queries! {
///
/// The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be
///`{ trait_f: impl_f, trait_g: impl_g }`
query impl_item_implementor_ids(impl_id: DefId) -> &'tcx FxHashMap<DefId, DefId> {
query impl_item_implementor_ids(impl_id: DefId) -> &'tcx DefIdMap<DefId> {
arena_cache
desc { |tcx| "comparing impl items against trait for `{}`", tcx.def_path_str(impl_id) }
}