summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-24 15:48:42 +0200
committerGitHub <noreply@github.com>2021-10-24 15:48:42 +0200
commit87822b27ee496dd0f5832a437f1e51da66bfc09a (patch)
tree035cf60d29b7c04255c2fa92866dea033691a2dc /compiler/rustc_codegen_ssa
parentbdcb52851231dc14bc6a7915dc62528cae7b8137 (diff)
parent22e17989751427625f6187a0b7ec27d621ce8164 (diff)
downloadrust-87822b27ee496dd0f5832a437f1e51da66bfc09a.tar.gz
rust-87822b27ee496dd0f5832a437f1e51da66bfc09a.zip
Rollup merge of #89558 - lcnr:query-stable-lint, r=estebank
Add rustc lint, warning when iterating over hashmaps

r? rust-lang/wg-incr-comp
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs
index f78196d7ec5..9f3c2f0c7ce 100644
--- a/compiler/rustc_codegen_ssa/src/lib.rs
+++ b/compiler/rustc_codegen_ssa/src/lib.rs
@@ -8,6 +8,7 @@
 #![feature(nll)]
 #![feature(associated_type_bounds)]
 #![recursion_limit = "256"]
+#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
 
 //! This crate contains codegen code that is used by all codegen backends (LLVM and others).
 //! The backend-agnostic functions of this crate use functions defined in various traits that