File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ pub trait Sub<Rhs = Self> {
208208macro_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> {
340341macro_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
458460pub 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.
You can’t perform that action at this time.
0 commit comments