diff options
| author | lcnr <rust@lcnr.de> | 2022-01-05 13:02:16 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-02-01 10:15:59 +0100 |
| commit | a1a30f7548bdb625f8f90c25258f8ab463cebe8c (patch) | |
| tree | 99c2f538217e5b632984902189e1eba204e407b2 /compiler/rustc_span/src | |
| parent | 25862ffc8d360b34dd8ec82a2f01750aaab976b7 (diff) | |
| download | rust-a1a30f7548bdb625f8f90c25258f8ab463cebe8c.tar.gz rust-a1a30f7548bdb625f8f90c25258f8ab463cebe8c.zip | |
add a rustc::query_stability lint
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 2c3db35bb66..823a927fd8c 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -21,6 +21,7 @@ #![feature(negative_impls)] #![feature(nll)] #![feature(min_specialization)] +#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))] #[macro_use] extern crate rustc_macros; diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 198391cbe9c..18627cd2c09 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1171,6 +1171,7 @@ symbols! { rustc_layout_scalar_valid_range_end, rustc_layout_scalar_valid_range_start, rustc_legacy_const_generics, + rustc_lint_query_instability, rustc_macro_transparency, rustc_main, rustc_mir, |
