File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -303,9 +303,7 @@ unsafe impl<T: ?Sized> DerefPure for &mut T {}
303
303
304
304
/// Indicates that a struct can be used as a method receiver.
305
305
/// That is, a type can use this type as a type of `self`, like this:
306
- /// ```
307
- /// # // This is currently compile_fail because the compiler-side parts
308
- /// # // of arbitrary_self_types are not implemented
306
+ /// ```ignore (trying to figure out bootstrap stuff, will be reinstated)
309
307
/// use std::ops::Receiver;
310
308
///
311
309
/// struct SmartPointer<T>(T);
@@ -365,7 +363,6 @@ unsafe impl<T: ?Sized> DerefPure for &mut T {}
365
363
/// }
366
364
/// ```
367
365
#[ lang = "receiver" ]
368
- #[ cfg( not( bootstrap) ) ]
369
366
#[ stable( feature = "arbitrary_self_types" , since = "CURRENT_RUSTC_VERSION" ) ]
370
367
pub trait Receiver {
371
368
/// The target type on which the method may be called.
@@ -375,7 +372,6 @@ pub trait Receiver {
375
372
type Target : ?Sized ;
376
373
}
377
374
378
- #[ cfg( not( bootstrap) ) ]
379
375
#[ stable( feature = "arbitrary_self_types" , since = "CURRENT_RUSTC_VERSION" ) ]
380
376
impl < P : ?Sized , T : ?Sized > Receiver for P
381
377
where
Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ pub use self::deref::DerefPure;
171
171
#[ cfg( bootstrap) ]
172
172
#[ unstable( feature = "legacy_receiver_trait" , issue = "none" ) ]
173
173
pub use self :: deref:: LegacyReceiver ;
174
- #[ cfg( not( bootstrap) ) ]
175
174
#[ stable( feature = "arbitrary_self_types" , since = "CURRENT_RUSTC_VERSION" ) ]
176
175
pub use self :: deref:: Receiver ;
177
176
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments