65
65
/// ```
66
66
#[ lang = "add" ]
67
67
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
68
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
68
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
69
69
#[ rustc_on_unimplemented(
70
70
on( all( Self = "{integer}" , Rhs = "{float}" ) , message = "cannot add a float to an integer" , ) ,
71
71
on( all( Self = "{float}" , Rhs = "{integer}" ) , message = "cannot add an integer to a float" , ) ,
@@ -96,7 +96,7 @@ pub trait Add<Rhs = Self> {
96
96
macro_rules! add_impl {
97
97
( $( $t: ty) * ) => ( $(
98
98
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
99
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
99
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
100
100
impl const Add for $t {
101
101
type Output = $t;
102
102
@@ -179,7 +179,7 @@ add_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
179
179
/// ```
180
180
#[ lang = "sub" ]
181
181
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
182
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
182
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
183
183
#[ rustc_on_unimplemented(
184
184
message = "cannot subtract `{Rhs}` from `{Self}`" ,
185
185
label = "no implementation for `{Self} - {Rhs}`" ,
@@ -208,7 +208,7 @@ pub trait Sub<Rhs = Self> {
208
208
macro_rules! sub_impl {
209
209
( $( $t: ty) * ) => ( $(
210
210
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
211
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
211
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
212
212
impl const Sub for $t {
213
213
type Output = $t;
214
214
@@ -313,7 +313,7 @@ sub_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
313
313
/// ```
314
314
#[ lang = "mul" ]
315
315
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
316
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
316
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
317
317
#[ diagnostic:: on_unimplemented(
318
318
message = "cannot multiply `{Self}` by `{Rhs}`" ,
319
319
label = "no implementation for `{Self} * {Rhs}`"
@@ -341,7 +341,7 @@ pub trait Mul<Rhs = Self> {
341
341
macro_rules! mul_impl {
342
342
( $( $t: ty) * ) => ( $(
343
343
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
344
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
344
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
345
345
impl const Mul for $t {
346
346
type Output = $t;
347
347
@@ -450,7 +450,7 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
450
450
/// ```
451
451
#[ lang = "div" ]
452
452
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
453
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
453
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
454
454
#[ diagnostic:: on_unimplemented(
455
455
message = "cannot divide `{Self}` by `{Rhs}`" ,
456
456
label = "no implementation for `{Self} / {Rhs}`"
@@ -484,7 +484,7 @@ macro_rules! div_impl_integer {
484
484
///
485
485
#[ doc = $panic]
486
486
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
487
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
487
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
488
488
impl const Div for $t {
489
489
type Output = $t;
490
490
@@ -505,7 +505,7 @@ div_impl_integer! {
505
505
macro_rules! div_impl_float {
506
506
( $( $t: ty) * ) => ( $(
507
507
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
508
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
508
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
509
509
impl const Div for $t {
510
510
type Output = $t;
511
511
@@ -556,7 +556,7 @@ div_impl_float! { f16 f32 f64 f128 }
556
556
/// ```
557
557
#[ lang = "rem" ]
558
558
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
559
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
559
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
560
560
#[ diagnostic:: on_unimplemented(
561
561
message = "cannot calculate the remainder of `{Self}` divided by `{Rhs}`" ,
562
562
label = "no implementation for `{Self} % {Rhs}`"
@@ -590,7 +590,7 @@ macro_rules! rem_impl_integer {
590
590
///
591
591
#[ doc = $panic]
592
592
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
593
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
593
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
594
594
impl const Rem for $t {
595
595
type Output = $t;
596
596
@@ -626,7 +626,7 @@ macro_rules! rem_impl_float {
626
626
/// assert_eq!(x % y, remainder);
627
627
/// ```
628
628
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
629
- #[ rustc_const_unstable( feature = "const_ops" , issue = "90080 " ) ]
629
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "143802 " ) ]
630
630
impl const Rem for $t {
631
631
type Output = $t;
632
632
0 commit comments