Skip to content

Commit

Permalink
Update dangling pointer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincrawford committed Nov 11, 2024
1 parent 7707584 commit e541a4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit e541a4f

Please sign in to comment.