We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e491a commit 5431d5bCopy full SHA for 5431d5b
library/core/src/sync/atomic.rs
@@ -131,6 +131,7 @@ use crate::hint::spin_loop;
131
/// loads and stores of `u8`.
132
#[cfg(target_has_atomic_load_store = "8")]
133
#[stable(feature = "rust1", since = "1.0.0")]
134
+#[rustc_diagnostic_item = "AtomicBool"]
135
#[repr(C, align(1))]
136
pub struct AtomicBool {
137
v: UnsafeCell<u8>,
0 commit comments