mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Stabilize wrapping_int_assign_impl in 1.60.0.
This commit is contained in:
@@ -239,7 +239,7 @@ fn add_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const AddAssign, add_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const AddAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -272,7 +272,7 @@ fn sub_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const SubAssign, sub_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const SubAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -305,7 +305,7 @@ fn mul_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const MulAssign, mul_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const MulAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -338,7 +338,7 @@ fn div_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const DivAssign, div_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const DivAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -371,7 +371,7 @@ fn rem_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const RemAssign, rem_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const RemAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -417,7 +417,7 @@ fn bitxor_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const BitXorAssign, bitxor_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const BitXorAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -450,7 +450,7 @@ fn bitor_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const BitOrAssign, bitor_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const BitOrAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
@@ -483,7 +483,7 @@ fn bitand_assign(&mut self, other: Wrapping<$t>) {
|
||||
}
|
||||
forward_ref_op_assign! { impl const BitAndAssign, bitand_assign for Wrapping<$t>, Wrapping<$t> }
|
||||
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.61.0")]
|
||||
#[stable(feature = "wrapping_int_assign_impl", since = "1.60.0")]
|
||||
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
|
||||
impl const BitAndAssign<$t> for Wrapping<$t> {
|
||||
#[inline]
|
||||
|
||||
Reference in New Issue
Block a user