@@ -550,72 +550,72 @@ pub trait BikeshedGuaranteedNoDrop {}
550550#[ lang = "sync" ]
551551#[ rustc_on_unimplemented(
552552 on(
553- _Self = "core::cell::once::OnceCell<T>" ,
553+ Self = "core::cell::once::OnceCell<T>" ,
554554 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::OnceLock` instead"
555555 ) ,
556556 on(
557- _Self = "core::cell::Cell<u8>" ,
557+ Self = "core::cell::Cell<u8>" ,
558558 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU8` instead" ,
559559 ) ,
560560 on(
561- _Self = "core::cell::Cell<u16>" ,
561+ Self = "core::cell::Cell<u16>" ,
562562 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU16` instead" ,
563563 ) ,
564564 on(
565- _Self = "core::cell::Cell<u32>" ,
565+ Self = "core::cell::Cell<u32>" ,
566566 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU32` instead" ,
567567 ) ,
568568 on(
569- _Self = "core::cell::Cell<u64>" ,
569+ Self = "core::cell::Cell<u64>" ,
570570 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU64` instead" ,
571571 ) ,
572572 on(
573- _Self = "core::cell::Cell<usize>" ,
573+ Self = "core::cell::Cell<usize>" ,
574574 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicUsize` instead" ,
575575 ) ,
576576 on(
577- _Self = "core::cell::Cell<i8>" ,
577+ Self = "core::cell::Cell<i8>" ,
578578 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI8` instead" ,
579579 ) ,
580580 on(
581- _Self = "core::cell::Cell<i16>" ,
581+ Self = "core::cell::Cell<i16>" ,
582582 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI16` instead" ,
583583 ) ,
584584 on(
585- _Self = "core::cell::Cell<i32>" ,
585+ Self = "core::cell::Cell<i32>" ,
586586 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI32` instead" ,
587587 ) ,
588588 on(
589- _Self = "core::cell::Cell<i64>" ,
589+ Self = "core::cell::Cell<i64>" ,
590590 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI64` instead" ,
591591 ) ,
592592 on(
593- _Self = "core::cell::Cell<isize>" ,
593+ Self = "core::cell::Cell<isize>" ,
594594 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicIsize` instead" ,
595595 ) ,
596596 on(
597- _Self = "core::cell::Cell<bool>" ,
597+ Self = "core::cell::Cell<bool>" ,
598598 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicBool` instead" ,
599599 ) ,
600600 on(
601601 all(
602- _Self = "core::cell::Cell<T>" ,
603- not( _Self = "core::cell::Cell<u8>" ) ,
604- not( _Self = "core::cell::Cell<u16>" ) ,
605- not( _Self = "core::cell::Cell<u32>" ) ,
606- not( _Self = "core::cell::Cell<u64>" ) ,
607- not( _Self = "core::cell::Cell<usize>" ) ,
608- not( _Self = "core::cell::Cell<i8>" ) ,
609- not( _Self = "core::cell::Cell<i16>" ) ,
610- not( _Self = "core::cell::Cell<i32>" ) ,
611- not( _Self = "core::cell::Cell<i64>" ) ,
612- not( _Self = "core::cell::Cell<isize>" ) ,
613- not( _Self = "core::cell::Cell<bool>" )
602+ Self = "core::cell::Cell<T>" ,
603+ not( Self = "core::cell::Cell<u8>" ) ,
604+ not( Self = "core::cell::Cell<u16>" ) ,
605+ not( Self = "core::cell::Cell<u32>" ) ,
606+ not( Self = "core::cell::Cell<u64>" ) ,
607+ not( Self = "core::cell::Cell<usize>" ) ,
608+ not( Self = "core::cell::Cell<i8>" ) ,
609+ not( Self = "core::cell::Cell<i16>" ) ,
610+ not( Self = "core::cell::Cell<i32>" ) ,
611+ not( Self = "core::cell::Cell<i64>" ) ,
612+ not( Self = "core::cell::Cell<isize>" ) ,
613+ not( Self = "core::cell::Cell<bool>" )
614614 ) ,
615615 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock`" ,
616616 ) ,
617617 on(
618- _Self = "core::cell::RefCell<T>" ,
618+ Self = "core::cell::RefCell<T>" ,
619619 note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead" ,
620620 ) ,
621621 message = "`{Self}` cannot be shared between threads safely" ,
0 commit comments