diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2023-12-21 10:52:27 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2024-01-04 13:32:42 +0100 |
| commit | db132c575d1950c84d58009db922b6cbfe7a1918 (patch) | |
| tree | 09050bcb961cc09fe29ae348dabdd003062c9e39 /compiler/rustc_middle/src/query/mod.rs | |
| parent | 739e5ef49e28ea4b2ab20bd28251a2299bd6889c (diff) | |
| download | rust-db132c575d1950c84d58009db922b6cbfe7a1918.tar.gz rust-db132c575d1950c84d58009db922b6cbfe7a1918.zip | |
Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 3a54f5f6b3d..ea807e31acf 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -61,7 +61,7 @@ use rustc_data_structures::fx::{FxHashMap, FxIndexMap, FxIndexSet}; use rustc_data_structures::steal::Steal; use rustc_data_structures::svh::Svh; use rustc_data_structures::sync::Lrc; -use rustc_data_structures::unord::UnordSet; +use rustc_data_structures::unord::{UnordMap, UnordSet}; use rustc_errors::ErrorGuaranteed; use rustc_hir as hir; use rustc_hir::def::{DefKind, DocLinkResMap}; @@ -1739,7 +1739,7 @@ rustc_queries! { separate_provide_extern arena_cache } - query stability_implications(_: CrateNum) -> &'tcx FxHashMap<Symbol, Symbol> { + query stability_implications(_: CrateNum) -> &'tcx UnordMap<Symbol, Symbol> { arena_cache desc { "calculating the implications between `#[unstable]` features defined in a crate" } separate_provide_extern |
