1
Fork 0

Return an indexmap in all_local_trait_impls query

The data structure previously used here required Ord.
As part of #90317, we do not want DefId to implement Ord.
This commit is contained in:
pierwill 2022-01-25 17:40:10 -06:00
parent 92ed8747f2
commit f5fe6cd277
4 changed files with 5 additions and 7 deletions

View file

@ -1089,7 +1089,7 @@ rustc_queries! {
}
/// Return all `impl` blocks in the current crate.
query all_local_trait_impls(_: ()) -> &'tcx BTreeMap<DefId, Vec<LocalDefId>> {
query all_local_trait_impls(_: ()) -> &'tcx rustc_data_structures::fx::FxIndexMap<DefId, Vec<LocalDefId>> {
desc { "local trait impls" }
}