about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.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/diagnostics.rs
parent4510e86a41388733675465a8647d4235f3bf2023 (diff)
downloadrust-ba4190cf7e919d7cc31c366906ded41874ef0439.tar.gz
rust-ba4190cf7e919d7cc31c366906ded41874ef0439.zip
resolve: Avoid some unstable iteration 2
Diffstat (limited to 'compiler/rustc_resolve/src/diagnostics.rs')
-rw-r--r--compiler/rustc_resolve/src/diagnostics.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs
index 5361af98f3c..7decc2a0972 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -1468,7 +1468,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
             return;
         }
 
-        #[allow(rustc::potential_query_instability)] // FIXME
         let unused_macro = self.unused_macros.iter().find_map(|(def_id, (_, unused_ident))| {
             if unused_ident.name == ident.name { Some((def_id, unused_ident)) } else { None }
         });