diff options
| author | mejrs <> | 2022-09-26 00:55:35 +0200 |
|---|---|---|
| committer | mejrs <> | 2022-09-27 21:42:09 +0200 |
| commit | c4c94151321b8018ceb06ccff359109b8fed6bfe (patch) | |
| tree | e9572b4e96cee41a8934626b50b98e22305b19c8 /library/std/src/thread/local.rs | |
| parent | 57ee5cf5a93923dae9c98bffb11545fc3a31368d (diff) | |
| download | rust-c4c94151321b8018ceb06ccff359109b8fed6bfe.tar.gz rust-c4c94151321b8018ceb06ccff359109b8fed6bfe.zip | |
Wrapper suggestions
Diffstat (limited to 'library/std/src/thread/local.rs')
| -rw-r--r-- | library/std/src/thread/local.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index 8aedfc4a6b8..1d728349951 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -95,6 +95,7 @@ use crate::fmt; /// [loader lock]: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices /// [`JoinHandle::join`]: crate::thread::JoinHandle::join /// [`with`]: LocalKey::with +#[rustc_diagnostic_item = "LocalKey"] #[stable(feature = "rust1", since = "1.0.0")] pub struct LocalKey<T: 'static> { // This outer `LocalKey<T>` type is what's going to be stored in statics, |
