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:
parent
92ed8747f2
commit
f5fe6cd277
4 changed files with 5 additions and 7 deletions
|
@ -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" }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue