Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a415b41

Browse files
Arbitrary self types v2: enable in bootstrap.
1 parent a383775 commit a415b41

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

‎library/core/src/ops/deref.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ unsafe impl<T: ?Sized> DerefPure for &mut T {}
365365
/// }
366366
/// ```
367367
#[lang = "receiver"]
368-
#[cfg(not(bootstrap))]
369368
#[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")]
370369
pub trait Receiver {
371370
/// The target type on which the method may be called.
@@ -375,7 +374,6 @@ pub trait Receiver {
375374
type Target: ?Sized;
376375
}
377376

378-
#[cfg(not(bootstrap))]
379377
#[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")]
380378
impl<P: ?Sized, T: ?Sized> Receiver for P
381379
where

‎library/core/src/ops/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ pub use self::deref::DerefPure;
171171
#[cfg(bootstrap)]
172172
#[unstable(feature = "legacy_receiver_trait", issue = "none")]
173173
pub use self::deref::LegacyReceiver;
174-
#[cfg(not(bootstrap))]
175174
#[stable(feature = "arbitrary_self_types", since = "CURRENT_RUSTC_VERSION")]
176175
pub use self::deref::Receiver;
177176
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /