summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/lib.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-17 01:34:46 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-24 23:03:11 +0300
commitba4190cf7e919d7cc31c366906ded41874ef0439 (patch)
tree33e1f9e95d75ccc394d156e3a76a30e307b99d50 /compiler/rustc_resolve/src/lib.rs
parent4510e86a41388733675465a8647d4235f3bf2023 (diff)
downloadrust-ba4190cf7e919d7cc31c366906ded41874ef0439.tar.gz
rust-ba4190cf7e919d7cc31c366906ded41874ef0439.zip
resolve: Avoid some unstable iteration 2
Diffstat (limited to 'compiler/rustc_resolve/src/lib.rs')
-rw-r--r--compiler/rustc_resolve/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs
index ff31af0025b..78153fd4174 100644
--- a/compiler/rustc_resolve/src/lib.rs
+++ b/compiler/rustc_resolve/src/lib.rs
@@ -1137,7 +1137,7 @@ pub struct Resolver<'ra, 'tcx> {
     non_macro_attr: MacroData,
     local_macro_def_scopes: FxHashMap<LocalDefId, Module<'ra>>,
     ast_transform_scopes: FxHashMap<LocalExpnId, Module<'ra>>,
-    unused_macros: FxHashMap<LocalDefId, (NodeId, Ident)>,
+    unused_macros: FxIndexMap<LocalDefId, (NodeId, Ident)>,
     /// A map from the macro to all its potentially unused arms.
     unused_macro_rules: FxIndexMap<LocalDefId, UnordMap<usize, (Ident, Span)>>,
     proc_macro_stubs: FxHashSet<LocalDefId>,