@@ -77,7 +77,6 @@ macro marker_impls {
7777#[ cfg_attr( not( test) , rustc_diagnostic_item = "Send" ) ]
7878#[ rustc_on_unimplemented(
7979 on( _Self = "std::rc::Rc<T, A>" , note = "use `std::sync::Arc` instead of `std::rc::Rc`" ) ,
80- on( _Self = "alloc::rc::Rc<T, A>" , note = "use `alloc::sync::Arc` instead of `alloc::rc::Rc`" ) ,
8180 message = "`{Self}` cannot be sent between threads safely" ,
8281 label = "`{Self}` cannot be sent between threads safely" ,
8382 note = "consider using `std::sync::Arc<{Self}>`; for more information visit \
@@ -633,7 +632,6 @@ impl<T: ?Sized> Copy for &T {}
633632 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead" ,
634633 ) ,
635634 on( _Self = "std::rc::Rc<T, A>" , note = "use `std::sync::Arc` instead of `std::rc::Rc`" ) ,
636- on( _Self = "alloc::rc::Rc<T, A>" , note = "use `alloc::sync::Arc` instead of `alloc::rc::Rc`" ) ,
637635 message = "`{Self}` cannot be shared between threads safely" ,
638636 label = "`{Self}` cannot be shared between threads safely" ,
639637 note = "consider using `std::sync::Arc<{Self}>`; for more information visit \
0 commit comments