diff --git a/library/core/src/ops/deref.rs b/library/core/src/ops/deref.rs index 286131edf072e..3a91652e122da 100644 --- a/library/core/src/ops/deref.rs +++ b/library/core/src/ops/deref.rs @@ -365,7 +365,6 @@ unsafe impl DerefPure for &mut T {} /// } /// ``` #[lang = "receiver"] -#[cfg(not(bootstrap))] #[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")] pub trait Receiver { /// The target type on which the method may be called. @@ -375,7 +374,6 @@ pub trait Receiver { type Target: ?Sized; } -#[cfg(not(bootstrap))] #[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")] impl Receiver for P where diff --git a/library/core/src/ops/mod.rs b/library/core/src/ops/mod.rs index f158b9a123fe4..911f05ab3d925 100644 --- a/library/core/src/ops/mod.rs +++ b/library/core/src/ops/mod.rs @@ -171,7 +171,6 @@ pub use self::deref::DerefPure; #[cfg(bootstrap)] #[unstable(feature = "legacy_receiver_trait", issue = "none")] pub use self::deref::LegacyReceiver; -#[cfg(not(bootstrap))] #[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")] pub use self::deref::Receiver; #[stable(feature = "rust1", since = "1.0.0")]