@@ -550,72 +550,72 @@ pub trait BikeshedGuaranteedNoDrop {}
550
550
#[ lang = "sync" ]
551
551
#[ rustc_on_unimplemented(
552
552
on(
553
- _Self = "core::cell::once::OnceCell<T>" ,
553
+ Self = "core::cell::once::OnceCell<T>" ,
554
554
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::OnceLock` instead"
555
555
) ,
556
556
on(
557
- _Self = "core::cell::Cell<u8>" ,
557
+ Self = "core::cell::Cell<u8>" ,
558
558
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU8` instead" ,
559
559
) ,
560
560
on(
561
- _Self = "core::cell::Cell<u16>" ,
561
+ Self = "core::cell::Cell<u16>" ,
562
562
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU16` instead" ,
563
563
) ,
564
564
on(
565
- _Self = "core::cell::Cell<u32>" ,
565
+ Self = "core::cell::Cell<u32>" ,
566
566
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU32` instead" ,
567
567
) ,
568
568
on(
569
- _Self = "core::cell::Cell<u64>" ,
569
+ Self = "core::cell::Cell<u64>" ,
570
570
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicU64` instead" ,
571
571
) ,
572
572
on(
573
- _Self = "core::cell::Cell<usize>" ,
573
+ Self = "core::cell::Cell<usize>" ,
574
574
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicUsize` instead" ,
575
575
) ,
576
576
on(
577
- _Self = "core::cell::Cell<i8>" ,
577
+ Self = "core::cell::Cell<i8>" ,
578
578
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI8` instead" ,
579
579
) ,
580
580
on(
581
- _Self = "core::cell::Cell<i16>" ,
581
+ Self = "core::cell::Cell<i16>" ,
582
582
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI16` instead" ,
583
583
) ,
584
584
on(
585
- _Self = "core::cell::Cell<i32>" ,
585
+ Self = "core::cell::Cell<i32>" ,
586
586
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI32` instead" ,
587
587
) ,
588
588
on(
589
- _Self = "core::cell::Cell<i64>" ,
589
+ Self = "core::cell::Cell<i64>" ,
590
590
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicI64` instead" ,
591
591
) ,
592
592
on(
593
- _Self = "core::cell::Cell<isize>" ,
593
+ Self = "core::cell::Cell<isize>" ,
594
594
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicIsize` instead" ,
595
595
) ,
596
596
on(
597
- _Self = "core::cell::Cell<bool>" ,
597
+ Self = "core::cell::Cell<bool>" ,
598
598
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicBool` instead" ,
599
599
) ,
600
600
on(
601
601
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>" )
614
614
) ,
615
615
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock`" ,
616
616
) ,
617
617
on(
618
- _Self = "core::cell::RefCell<T>" ,
618
+ Self = "core::cell::RefCell<T>" ,
619
619
note = "if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead" ,
620
620
) ,
621
621
message = "`{Self}` cannot be shared between threads safely" ,
0 commit comments