Auto merge of #93312 - pierwill:map-all-local-trait-impls, r=cjgillot
Return an indexmap in `all_local_trait_impls` query The data structure previously used here required that `DefId` be `Ord`. As part of #90317, we do not want `DefId` to implement `Ord`.
This commit is contained in:
@@ -1100,7 +1100,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" }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user