Skip to content

Commit fac80df

Browse files
committed
Accident, fixes
1 parent 611c220 commit fac80df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/core/src/ops/arith.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f16 f32 f64 f128
460460
pub trait Div<Rhs = Self> {
461461
/// The resulting type after applying the `/` operator.
462462
#[stable(feature = "rust1", since = "1.0.0")]
463-
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
464463
type Output;
465464

466465
/// Performs the `/` operation.
@@ -485,6 +484,7 @@ macro_rules! div_impl_integer {
485484
///
486485
#[doc = $panic]
487486
#[stable(feature = "rust1", since = "1.0.0")]
487+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
488488
impl const Div for $t {
489489
type Output = $t;
490490

@@ -505,6 +505,7 @@ div_impl_integer! {
505505
macro_rules! div_impl_float {
506506
($($t:ty)*) => ($(
507507
#[stable(feature = "rust1", since = "1.0.0")]
508+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
508509
impl const Div for $t {
509510
type Output = $t;
510511

@@ -589,6 +590,7 @@ macro_rules! rem_impl_integer {
589590
///
590591
#[doc = $panic]
591592
#[stable(feature = "rust1", since = "1.0.0")]
593+
#[rustc_const_unstable(feature = "const_ops", issue = "90080")]
592594
impl const Rem for $t {
593595
type Output = $t;
594596

0 commit comments

Comments
 (0)