about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-10 08:16:37 +0000
committerbors <bors@rust-lang.org>2024-09-10 08:16:37 +0000
commit79d4cc9d7ce20cfe2300e33388bc1649bb3e7270 (patch)
tree528f381b0514b059a536de840b9630879195b662 /compiler/rustc_data_structures/src
parent0225309e97bfc685ddc5643f44e122de803b73ad (diff)
parent6e70bd4d07deb838af1471258742cf1564bce632 (diff)
downloadrust-79d4cc9d7ce20cfe2300e33388bc1649bb3e7270.tar.gz
rust-79d4cc9d7ce20cfe2300e33388bc1649bb3e7270.zip
Auto merge of #3876 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/steal.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/steal.rs b/compiler/rustc_data_structures/src/steal.rs
index 0f2c0eee27d..aaa95f6b7f1 100644
--- a/compiler/rustc_data_structures/src/steal.rs
+++ b/compiler/rustc_data_structures/src/steal.rs
@@ -57,6 +57,7 @@ impl<T> Steal<T> {
     ///
     /// This should not be used within rustc as it leaks information not tracked
     /// by the query system, breaking incremental compilation.
+    #[cfg_attr(not(bootstrap), rustc_lint_untracked_query_information)]
     pub fn is_stolen(&self) -> bool {
         self.value.borrow().is_none()
     }