about summary refs log tree commit diff
path: root/src/librustdoc/lib.rs
diff options
context:
space:
mode:
authorismailarilik <arilik.ismail@gmail.com>2024-10-06 10:39:03 +0300
committerismailarilik <arilik.ismail@gmail.com>2024-10-06 10:39:03 +0300
commite0a20b484d0b88183ddd46b82aa47d7bbfe48468 (patch)
treed51f1e856c1054347a3da443d9a714c604543f11 /src/librustdoc/lib.rs
parent85e2f55d8291e643b5b4c98ee09db301379d63a6 (diff)
downloadrust-e0a20b484d0b88183ddd46b82aa47d7bbfe48468.tar.gz
rust-e0a20b484d0b88183ddd46b82aa47d7bbfe48468.zip
Handle `librustdoc` cases of `rustc::potential_query_instability` lint
Diffstat (limited to 'src/librustdoc/lib.rs')
-rw-r--r--src/librustdoc/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 2be415e2e0e..10fc0ea9990 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -20,7 +20,6 @@
 #![warn(rustc::internal)]
 #![allow(clippy::collapsible_if, clippy::collapsible_else_if)]
 #![allow(rustc::diagnostic_outside_of_impl)]
-#![allow(rustc::potential_query_instability)]
 #![allow(rustc::untranslatable_diagnostic)]
 
 extern crate thin_vec;
@@ -99,7 +98,7 @@ use crate::clean::utils::DOC_RUST_LANG_ORG_CHANNEL;
 /// Commas between elements are required (even if the expression is a block).
 macro_rules! map {
     ($( $key: expr => $val: expr ),* $(,)*) => {{
-        let mut map = ::rustc_data_structures::fx::FxHashMap::default();
+        let mut map = ::rustc_data_structures::fx::FxIndexMap::default();
         $( map.insert($key, $val); )*
         map
     }}