about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-01-05 13:02:16 +0100
committerlcnr <rust@lcnr.de>2022-02-01 10:15:59 +0100
commita1a30f7548bdb625f8f90c25258f8ab463cebe8c (patch)
tree99c2f538217e5b632984902189e1eba204e407b2 /compiler/rustc_codegen_ssa/src
parent25862ffc8d360b34dd8ec82a2f01750aaab976b7 (diff)
downloadrust-a1a30f7548bdb625f8f90c25258f8ab463cebe8c.tar.gz
rust-a1a30f7548bdb625f8f90c25258f8ab463cebe8c.zip
add a rustc::query_stability lint
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-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 350199f4e98..9bb8db076a8 100644
--- a/compiler/rustc_codegen_ssa/src/lib.rs
+++ b/compiler/rustc_codegen_ssa/src/lib.rs
@@ -7,6 +7,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