about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2023-12-18 21:02:21 +0100
committerMichael Woerister <michaelwoerister@posteo>2023-12-18 21:03:32 +0100
commit115885ba7e7f88ecc076497c0ac2b0ca304b16b5 (patch)
treea209d8d132d075aace6cc94f1c42223c62589aa6 /compiler/rustc_passes/src
parent2a7634047a978207aa1c527ed484ae4ada9bba96 (diff)
downloadrust-115885ba7e7f88ecc076497c0ac2b0ca304b16b5.tar.gz
rust-115885ba7e7f88ecc076497c0ac2b0ca304b16b5.zip
Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostly in rustc_hir and rustc_ast_lowering)
Part of https://github.com/rust-lang/compiler-team/issues/533
Diffstat (limited to 'compiler/rustc_passes/src')
-rw-r--r--compiler/rustc_passes/src/diagnostic_items.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_passes/src/diagnostic_items.rs b/compiler/rustc_passes/src/diagnostic_items.rs
index 5f767c9acaa..d8b9f4fae87 100644
--- a/compiler/rustc_passes/src/diagnostic_items.rs
+++ b/compiler/rustc_passes/src/diagnostic_items.rs
@@ -83,9 +83,6 @@ fn all_diagnostic_items(tcx: TyCtxt<'_>, (): ()) -> DiagnosticItems {
 
     // Collect diagnostic items in other crates.
     for &cnum in tcx.crates(()).iter().chain(std::iter::once(&LOCAL_CRATE)) {
-        // We are collecting many DiagnosticItems hash maps into one
-        // DiagnosticItems hash map. The iteration order does not matter.
-        #[allow(rustc::potential_query_instability)]
         for (&name, &def_id) in &tcx.diagnostic_items(cnum).name_to_id {
             collect_item(tcx, &mut items, name, def_id);
         }