Skip to content

Commit 741b62a

Browse files
authoredFeb 1, 2022
Rollup merge of #92584 - lcnr:query-stable-lint, r=estebank
add rustc lint, warning when iterating over hashmaps 2 first introduced in #89558 and reverted in #90380 due to its perf impact r? ``@estebank``
2 parents 788f296 + 4bbe970 commit 741b62a

File tree

42 files changed

+310
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+310
-79
lines changed
 

‎compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#![feature(box_patterns)]
3535
#![feature(never_type)]
3636
#![recursion_limit = "256"]
37+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
3738

3839
use rustc_ast::token::{self, Token};
3940
use rustc_ast::tokenstream::{CanSynthesizeMissingTokens, TokenStream, TokenTree};

‎compiler/rustc_ast_passes/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#![feature(box_patterns)]
99
#![feature(let_else)]
1010
#![recursion_limit = "256"]
11+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
1112

1213
pub mod ast_validation;
1314
pub mod feature_gate;

0 commit comments

Comments
 (0)