Add rustc_diagnostic_item attribute to AtomicBool
This commit is contained in:
parent
22e491ac7e
commit
5431d5b58e
@ -131,6 +131,7 @@
|
|||||||
/// loads and stores of `u8`.
|
/// loads and stores of `u8`.
|
||||||
#[cfg(target_has_atomic_load_store = "8")]
|
#[cfg(target_has_atomic_load_store = "8")]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
#[rustc_diagnostic_item = "AtomicBool"]
|
||||||
#[repr(C, align(1))]
|
#[repr(C, align(1))]
|
||||||
pub struct AtomicBool {
|
pub struct AtomicBool {
|
||||||
v: UnsafeCell<u8>,
|
v: UnsafeCell<u8>,
|
||||||
|
Loading…
Reference in New Issue
Block a user