Skip to content

Commit 50ac725

Browse files
committed
Correct comments concerning updated dangling pointer lint
1 parent e541a4f commit 50ac725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/cell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2273,7 +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"]
2276+
#[rustc_diagnostic_item = "SyncUnsafeCell"]
22772277
#[rustc_pub_transparent]
22782278
pub struct SyncUnsafeCell<T: ?Sized> {
22792279
value: UnsafeCell<T>,

0 commit comments

Comments
 (0)