Skip to content

Commit 611c220

Browse files
committed
Add the unstability tag
1 parent 6b4e2c2 commit 611c220

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/core/src/ops/arith.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ pub trait Sub<Rhs = Self> {
208208
macro_rules! sub_impl {
209209
($($t:ty)*) => ($(
210210
#[stable(feature = "rust1", since = "1.0.0")]
211+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
211212
impl const Sub for $t {
212213
type Output = $t;
213214

@@ -340,6 +341,7 @@ pub trait Mul<Rhs = Self> {
340341
macro_rules! mul_impl {
341342
($($t:ty)*) => ($(
342343
#[stable(feature = "rust1", since = "1.0.0")]
344+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
343345
impl const Mul for $t {
344346
type Output = $t;
345347

@@ -458,6 +460,7 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
458460
pub trait Div<Rhs = Self> {
459461
/// The resulting type after applying the `/` operator.
460462
#[stable(feature = "rust1", since = "1.0.0")]
463+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
461464
type Output;
462465

463466
/// Performs the `/` operation.

0 commit comments

Comments
 (0)