about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
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_llvm/src
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_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs
index 8f4d79e7147..f1dacc393d5 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -13,6 +13,7 @@
 #![feature(iter_zip)]
 #![feature(nll)]
 #![recursion_limit = "256"]
+#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
 
 use back::write::{create_informational_target_machine, create_target_machine};