diff options
| author | Nadrieril <Nadrieril@users.noreply.github.com> | 2024-08-08 21:51:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-08 21:51:50 +0200 |
| commit | c966370b1959707be06dd2cbfb1436233fa595a3 (patch) | |
| tree | 4e953d75903a837fb5fee5b140d396048ea9b92a /compiler/rustc_data_structures/src | |
| parent | 09ae438eb095e6e2a94e1516cb962e66bfc6d747 (diff) | |
| download | rust-c966370b1959707be06dd2cbfb1436233fa595a3.tar.gz rust-c966370b1959707be06dd2cbfb1436233fa595a3.zip | |
Tweak wording
Co-authored-by: lcnr <rust@lcnr.de>
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/steal.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/steal.rs b/compiler/rustc_data_structures/src/steal.rs index f305a8ad120..0f2c0eee27d 100644 --- a/compiler/rustc_data_structures/src/steal.rs +++ b/compiler/rustc_data_structures/src/steal.rs @@ -53,7 +53,10 @@ impl<T> Steal<T> { } /// Writers of rustc drivers often encounter stealing issues. This function makes it possible to - /// handle these errors gracefully. This is not used within rustc as the time of writing. + /// handle these errors gracefully. + /// + /// This should not be used within rustc as it leaks information not tracked + /// by the query system, breaking incremental compilation. pub fn is_stolen(&self) -> bool { self.value.borrow().is_none() } |
