Skip to content

Commit fe17d7a

Browse files
committed
Remove now unused Cell and SyncUnsafeCell diagnostic item
1 parent 5b6c7cc commit fe17d7a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compiler/rustc_span/src/symbol.rs

-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ symbols! {
171171
CallOnceFuture,
172172
CallRefFuture,
173173
Capture,
174-
Cell,
175174
Center,
176175
Cleanup,
177176
Clone,
@@ -316,7 +315,6 @@ symbols! {
316315
SubdiagMessage,
317316
Subdiagnostic,
318317
Sync,
319-
SyncUnsafeCell,
320318
T,
321319
Target,
322320
ToOwned,

library/core/src/cell.rs

-2
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ pub use once::OnceCell;
304304
/// ```
305305
///
306306
/// See the [module-level documentation](self) for more.
307-
#[cfg_attr(not(test), rustc_diagnostic_item = "Cell")]
308307
#[stable(feature = "rust1", since = "1.0.0")]
309308
#[repr(transparent)]
310309
#[rustc_pub_transparent]
@@ -2274,7 +2273,6 @@ impl<T: DispatchFromDyn<U>, U> DispatchFromDyn<UnsafeCell<U>> for UnsafeCell<T>
22742273
/// See [`UnsafeCell`] for details.
22752274
#[unstable(feature = "sync_unsafe_cell", issue = "95439")]
22762275
#[repr(transparent)]
2277-
#[rustc_diagnostic_item = "SyncUnsafeCell"]
22782276
#[rustc_pub_transparent]
22792277
pub struct SyncUnsafeCell<T: ?Sized> {
22802278
value: UnsafeCell<T>,

0 commit comments

Comments
 (0)