File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -303,9 +303,8 @@ 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
+ /// ```compile_fail
307
+ /// # // compile_fail due to the need to run against bootstrap in CI
309
308
/// use std::ops::Receiver;
310
309
///
311
310
/// struct SmartPointer<T>(T);
@@ -365,7 +364,6 @@ unsafe impl<T: ?Sized> DerefPure for &mut T {}
365
364
/// }
366
365
/// ```
367
366
#[ lang = "receiver" ]
368
- #[ cfg( not( bootstrap) ) ]
369
367
#[ stable( feature = "arbitrary_self_types" , since = "CURRENT_RUSTC_VERSION" ) ]
370
368
pub trait Receiver {
371
369
/// The target type on which the method may be called.
@@ -375,7 +373,6 @@ pub trait Receiver {
375
373
type Target : ?Sized ;
376
374
}
377
375
378
- #[ cfg( not( bootstrap) ) ]
379
376
#[ stable( feature = "arbitrary_self_types" , since = "CURRENT_RUSTC_VERSION" ) ]
380
377
impl < P : ?Sized , T : ?Sized > Receiver for P
381
378
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