diff --git a/library/core/src/ops/deref.rs b/library/core/src/ops/deref.rs index 286131edf072e..9e5c88ff9f332 100644 --- a/library/core/src/ops/deref.rs +++ b/library/core/src/ops/deref.rs @@ -303,9 +303,7 @@ unsafe impl DerefPure for &mut T {} /// Indicates that a struct can be used as a method receiver. /// That is, a type can use this type as a type of `self`, like this: -/// ``` -/// # // This is currently compile_fail because the compiler-side parts -/// # // of arbitrary_self_types are not implemented +/// ```ignore (trying to figure out bootstrap stuff, will be reinstated) /// use std::ops::Receiver; /// /// struct SmartPointer(T); @@ -365,7 +363,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 +372,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")]