@@ -316,7 +316,6 @@ macro_rules! nonzero_unsigned_operations {
316
316
/// # Examples
317
317
///
318
318
/// ```
319
- /// #![feature(nonzero_ops)]
320
319
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
321
320
///
322
321
/// # fn main() { test().unwrap(); }
@@ -331,7 +330,8 @@ macro_rules! nonzero_unsigned_operations {
331
330
/// # Some(())
332
331
/// # }
333
332
/// ```
334
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
333
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
334
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
335
335
#[ must_use = "this returns the result of the operation, \
336
336
without modifying the original"]
337
337
#[ inline]
@@ -351,7 +351,6 @@ macro_rules! nonzero_unsigned_operations {
351
351
/// # Examples
352
352
///
353
353
/// ```
354
- /// #![feature(nonzero_ops)]
355
354
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
356
355
///
357
356
/// # fn main() { test().unwrap(); }
@@ -366,7 +365,8 @@ macro_rules! nonzero_unsigned_operations {
366
365
/// # Some(())
367
366
/// # }
368
367
/// ```
369
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
368
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
369
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
370
370
#[ must_use = "this returns the result of the operation, \
371
371
without modifying the original"]
372
372
#[ inline]
@@ -415,7 +415,6 @@ macro_rules! nonzero_unsigned_operations {
415
415
/// # Examples
416
416
///
417
417
/// ```
418
- /// #![feature(nonzero_ops)]
419
418
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
420
419
///
421
420
/// # fn main() { test().unwrap(); }
@@ -432,7 +431,8 @@ macro_rules! nonzero_unsigned_operations {
432
431
/// # Some(())
433
432
/// # }
434
433
/// ```
435
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
434
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
435
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
436
436
#[ must_use = "this returns the result of the operation, \
437
437
without modifying the original"]
438
438
#[ inline]
@@ -521,7 +521,6 @@ macro_rules! nonzero_signed_operations {
521
521
/// # Example
522
522
///
523
523
/// ```
524
- /// #![feature(nonzero_ops)]
525
524
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
526
525
///
527
526
/// # fn main() { test().unwrap(); }
@@ -534,7 +533,8 @@ macro_rules! nonzero_signed_operations {
534
533
/// # Some(())
535
534
/// # }
536
535
/// ```
537
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
536
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
537
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
538
538
#[ must_use = "this returns the result of the operation, \
539
539
without modifying the original"]
540
540
#[ inline]
@@ -551,7 +551,6 @@ macro_rules! nonzero_signed_operations {
551
551
/// # Example
552
552
///
553
553
/// ```
554
- /// #![feature(nonzero_ops)]
555
554
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
556
555
///
557
556
/// # fn main() { test().unwrap(); }
@@ -566,7 +565,8 @@ macro_rules! nonzero_signed_operations {
566
565
/// # Some(())
567
566
/// # }
568
567
/// ```
569
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
568
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
569
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
570
570
#[ must_use = "this returns the result of the operation, \
571
571
without modifying the original"]
572
572
#[ inline]
@@ -586,7 +586,6 @@ macro_rules! nonzero_signed_operations {
586
586
/// # Example
587
587
///
588
588
/// ```
589
- /// #![feature(nonzero_ops)]
590
589
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
591
590
///
592
591
/// # fn main() { test().unwrap(); }
@@ -602,7 +601,8 @@ macro_rules! nonzero_signed_operations {
602
601
/// # Some(())
603
602
/// # }
604
603
/// ```
605
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
604
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
605
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
606
606
#[ must_use = "this returns the result of the operation, \
607
607
without modifying the original"]
608
608
#[ inline]
@@ -621,7 +621,6 @@ macro_rules! nonzero_signed_operations {
621
621
/// # Example
622
622
///
623
623
/// ```
624
- /// #![feature(nonzero_ops)]
625
624
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
626
625
///
627
626
/// # fn main() { test().unwrap(); }
@@ -642,7 +641,8 @@ macro_rules! nonzero_signed_operations {
642
641
/// # Some(())
643
642
/// # }
644
643
/// ```
645
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
644
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
645
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
646
646
#[ must_use = "this returns the result of the operation, \
647
647
without modifying the original"]
648
648
#[ inline]
@@ -657,7 +657,6 @@ macro_rules! nonzero_signed_operations {
657
657
/// # Example
658
658
///
659
659
/// ```
660
- /// #![feature(nonzero_ops)]
661
660
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
662
661
///
663
662
/// # fn main() { test().unwrap(); }
@@ -677,7 +676,8 @@ macro_rules! nonzero_signed_operations {
677
676
/// # Some(())
678
677
/// # }
679
678
/// ```
680
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
679
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
680
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
681
681
#[ must_use = "this returns the result of the operation, \
682
682
without modifying the original"]
683
683
#[ inline]
@@ -692,7 +692,6 @@ macro_rules! nonzero_signed_operations {
692
692
/// # Example
693
693
///
694
694
/// ```
695
- /// #![feature(nonzero_ops)]
696
695
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
697
696
#[ doc = concat!( "# use std::num::" , stringify!( $Uty) , ";" ) ]
698
697
///
@@ -712,7 +711,8 @@ macro_rules! nonzero_signed_operations {
712
711
/// # Some(())
713
712
/// # }
714
713
/// ```
715
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
714
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
715
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
716
716
#[ must_use = "this returns the result of the operation, \
717
717
without modifying the original"]
718
718
#[ inline]
@@ -746,7 +746,6 @@ macro_rules! nonzero_unsigned_signed_operations {
746
746
/// # Examples
747
747
///
748
748
/// ```
749
- /// #![feature(nonzero_ops)]
750
749
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
751
750
///
752
751
/// # fn main() { test().unwrap(); }
@@ -761,7 +760,8 @@ macro_rules! nonzero_unsigned_signed_operations {
761
760
/// # Some(())
762
761
/// # }
763
762
/// ```
764
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
763
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
764
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
765
765
#[ must_use = "this returns the result of the operation, \
766
766
without modifying the original"]
767
767
#[ inline]
@@ -782,7 +782,6 @@ macro_rules! nonzero_unsigned_signed_operations {
782
782
/// # Examples
783
783
///
784
784
/// ```
785
- /// #![feature(nonzero_ops)]
786
785
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
787
786
///
788
787
/// # fn main() { test().unwrap(); }
@@ -797,7 +796,8 @@ macro_rules! nonzero_unsigned_signed_operations {
797
796
/// # Some(())
798
797
/// # }
799
798
/// ```
800
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
799
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
800
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
801
801
#[ must_use = "this returns the result of the operation, \
802
802
without modifying the original"]
803
803
#[ inline]
@@ -855,7 +855,6 @@ macro_rules! nonzero_unsigned_signed_operations {
855
855
/// # Examples
856
856
///
857
857
/// ```
858
- /// #![feature(nonzero_ops)]
859
858
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
860
859
///
861
860
/// # fn main() { test().unwrap(); }
@@ -870,7 +869,8 @@ macro_rules! nonzero_unsigned_signed_operations {
870
869
/// # Some(())
871
870
/// # }
872
871
/// ```
873
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
872
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
873
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
874
874
#[ must_use = "this returns the result of the operation, \
875
875
without modifying the original"]
876
876
#[ inline]
@@ -899,7 +899,6 @@ macro_rules! nonzero_unsigned_signed_operations {
899
899
/// # Examples
900
900
///
901
901
/// ```
902
- /// #![feature(nonzero_ops)]
903
902
#[ doc = concat!( "# use std::num::" , stringify!( $Ty) , ";" ) ]
904
903
///
905
904
/// # fn main() { test().unwrap(); }
@@ -914,7 +913,8 @@ macro_rules! nonzero_unsigned_signed_operations {
914
913
/// # Some(())
915
914
/// # }
916
915
/// ```
917
- #[ unstable( feature = "nonzero_ops" , issue = "84186" ) ]
916
+ #[ stable( feature = "nonzero_checked_ops" , since = "1.64.0" ) ]
917
+ #[ rustc_const_stable( feature = "const_nonzero_checked_ops" , since = "1.64.0" ) ]
918
918
#[ must_use = "this returns the result of the operation, \
919
919
without modifying the original"]
920
920
#[ inline]
0 commit comments