Skip to content

Commit e541a4f

Browse files
committed
Update dangling pointer tests
1 parent 7707584 commit e541a4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/cell.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2273,6 +2273,7 @@ impl<T: DispatchFromDyn<U>, U> DispatchFromDyn<UnsafeCell<U>> for UnsafeCell<T>
22732273
/// See [`UnsafeCell`] for details.
22742274
#[unstable(feature = "sync_unsafe_cell", issue = "95439")]
22752275
#[repr(transparent)]
2276+
#[rustc_diagnostic_item = "sync_unsafe_cell"]
22762277
#[rustc_pub_transparent]
22772278
pub struct SyncUnsafeCell<T: ?Sized> {
22782279
value: UnsafeCell<T>,

0 commit comments

Comments
 (0)