about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/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_ast_lowering/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_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs
index 92e08da7a97..63ba5b45f4c 100644
--- a/compiler/rustc_ast_lowering/src/lib.rs
+++ b/compiler/rustc_ast_lowering/src/lib.rs
@@ -35,6 +35,7 @@
 #![feature(iter_zip)]
 #![feature(never_type)]
 #![recursion_limit = "256"]
+#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
 
 use rustc_ast::token::{self, Token};
 use rustc_ast::tokenstream::{CanSynthesizeMissingTokens, TokenStream, TokenTree};