Skip to content

Commit 69e8e7e

Browse files
committed
Stabilize NonZero* checked operations constness.
1 parent 5823d7b commit 69e8e7e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

library/core/src/num/nonzero.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ macro_rules! nonzero_unsigned_operations {
331331
/// # }
332332
/// ```
333333
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
334-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
334+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
335335
#[must_use = "this returns the result of the operation, \
336336
without modifying the original"]
337337
#[inline]
@@ -366,7 +366,7 @@ macro_rules! nonzero_unsigned_operations {
366366
/// # }
367367
/// ```
368368
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
369-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
369+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
370370
#[must_use = "this returns the result of the operation, \
371371
without modifying the original"]
372372
#[inline]
@@ -432,7 +432,7 @@ macro_rules! nonzero_unsigned_operations {
432432
/// # }
433433
/// ```
434434
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
435-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
435+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
436436
#[must_use = "this returns the result of the operation, \
437437
without modifying the original"]
438438
#[inline]
@@ -534,7 +534,7 @@ macro_rules! nonzero_signed_operations {
534534
/// # }
535535
/// ```
536536
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
537-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
537+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
538538
#[must_use = "this returns the result of the operation, \
539539
without modifying the original"]
540540
#[inline]
@@ -566,7 +566,7 @@ macro_rules! nonzero_signed_operations {
566566
/// # }
567567
/// ```
568568
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
569-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
569+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
570570
#[must_use = "this returns the result of the operation, \
571571
without modifying the original"]
572572
#[inline]
@@ -602,7 +602,7 @@ macro_rules! nonzero_signed_operations {
602602
/// # }
603603
/// ```
604604
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
605-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
605+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
606606
#[must_use = "this returns the result of the operation, \
607607
without modifying the original"]
608608
#[inline]
@@ -642,7 +642,7 @@ macro_rules! nonzero_signed_operations {
642642
/// # }
643643
/// ```
644644
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
645-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
645+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
646646
#[must_use = "this returns the result of the operation, \
647647
without modifying the original"]
648648
#[inline]
@@ -677,7 +677,7 @@ macro_rules! nonzero_signed_operations {
677677
/// # }
678678
/// ```
679679
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
680-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
680+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
681681
#[must_use = "this returns the result of the operation, \
682682
without modifying the original"]
683683
#[inline]
@@ -712,7 +712,7 @@ macro_rules! nonzero_signed_operations {
712712
/// # }
713713
/// ```
714714
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
715-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
715+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
716716
#[must_use = "this returns the result of the operation, \
717717
without modifying the original"]
718718
#[inline]
@@ -761,7 +761,7 @@ macro_rules! nonzero_unsigned_signed_operations {
761761
/// # }
762762
/// ```
763763
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
764-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
764+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
765765
#[must_use = "this returns the result of the operation, \
766766
without modifying the original"]
767767
#[inline]
@@ -797,7 +797,7 @@ macro_rules! nonzero_unsigned_signed_operations {
797797
/// # }
798798
/// ```
799799
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
800-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
800+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
801801
#[must_use = "this returns the result of the operation, \
802802
without modifying the original"]
803803
#[inline]
@@ -870,7 +870,7 @@ macro_rules! nonzero_unsigned_signed_operations {
870870
/// # }
871871
/// ```
872872
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
873-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
873+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
874874
#[must_use = "this returns the result of the operation, \
875875
without modifying the original"]
876876
#[inline]
@@ -914,7 +914,7 @@ macro_rules! nonzero_unsigned_signed_operations {
914914
/// # }
915915
/// ```
916916
#[stable(feature = "nonzero_checked_ops", since = "1.63.0")]
917-
#[rustc_const_unstable(feature = "const_nonzero_checked_ops", issue = "97547")]
917+
#[rustc_const_stable(feature = "const_nonzero_checked_ops", since = "1.63.0")]
918918
#[must_use = "this returns the result of the operation, \
919919
without modifying the original"]
920920
#[inline]

0 commit comments

Comments
 (0)