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> {
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
212
impl const Sub for $t {
212
213
type Output = $t;
213
214
@@ -340,6 +341,7 @@ pub trait Mul<Rhs = Self> {
340
341
macro_rules! mul_impl {
341
342
( $( $t: ty) * ) => ( $(
342
343
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
344
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
343
345
impl const Mul for $t {
344
346
type Output = $t;
345
347
@@ -458,6 +460,7 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
458
460
pub trait Div < Rhs = Self > {
459
461
/// The resulting type after applying the `/` operator.
460
462
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
463
+ #[ rustc_const_unstable( feature = "const_ops" , issue = "90080" ) ]
461
464
type Output ;
462
465
463
466
/// Performs the `/` operation.
You can’t perform that action at this time.
0 commit comments