Update dangling pointer tests
This commit is contained in:
parent
fdef65bf6e
commit
8ec94d30e5
5 changed files with 50 additions and 20 deletions
|
@ -2273,6 +2273,7 @@ impl<T: DispatchFromDyn<U>, U> DispatchFromDyn<UnsafeCell<U>> for UnsafeCell<T>
|
|||
/// See [`UnsafeCell`] for details.
|
||||
#[unstable(feature = "sync_unsafe_cell", issue = "95439")]
|
||||
#[repr(transparent)]
|
||||
#[rustc_diagnostic_item = "sync_unsafe_cell"]
|
||||
#[rustc_pub_transparent]
|
||||
pub struct SyncUnsafeCell<T: ?Sized> {
|
||||
value: UnsafeCell<T>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue