We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ae438 commit c966370Copy full SHA for c966370
compiler/rustc_data_structures/src/steal.rs
@@ -53,7 +53,10 @@ impl<T> Steal<T> {
53
}
54
55
/// Writers of rustc drivers often encounter stealing issues. This function makes it possible to
56
- /// handle these errors gracefully. This is not used within rustc as the time of writing.
+ /// handle these errors gracefully.
57
+ ///
58
+ /// This should not be used within rustc as it leaks information not tracked
59
+ /// by the query system, breaking incremental compilation.
60
pub fn is_stolen(&self) -> bool {
61
self.value.borrow().is_none()
62
0 commit comments