diff options
| author | Masaki Hara <ackie.h.gmai@gmail.com> | 2019-02-10 19:25:56 +0900 |
|---|---|---|
| committer | CrLF0710 <crlf0710@gmail.com> | 2019-04-05 02:27:03 +0800 |
| commit | a38f29272ef4d04f0cc77e4f8d4fa5fac7ed746d (patch) | |
| tree | f4b9fa0e33805216d6bd312e21b009beba0526e2 /src/liballoc/boxed.rs | |
| parent | 4dcd6cc208e143309d481f0ecf4051bd9d139a18 (diff) | |
| download | rust-a38f29272ef4d04f0cc77e4f8d4fa5fac7ed746d.tar.gz rust-a38f29272ef4d04f0cc77e4f8d4fa5fac7ed746d.zip | |
We already have unsized_locals in stage0.
Diffstat (limited to 'src/liballoc/boxed.rs')
| -rw-r--r-- | src/liballoc/boxed.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 09554a1a34d..864add1ecfe 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -694,7 +694,6 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> { #[stable(feature = "fused", since = "1.26.0")] impl<I: FusedIterator + ?Sized> FusedIterator for Box<I> {} -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -706,7 +705,6 @@ impl<A, F: FnOnce<A> + ?Sized> FnOnce<A> for Box<F> { } } -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -716,7 +714,6 @@ impl<A, F: FnMut<A> + ?Sized> FnMut<A> for Box<F> { } } -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box<FnOnce> relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -783,9 +780,6 @@ impl<A, F> FnBox<A> for F #[unstable(feature = "fnbox", reason = "will be deprecated if and when `Box<FnOnce>` becomes usable", issue = "28796")] impl<A, R> FnOnce<A> for Box<dyn FnBox<A, Output = R> + '_> { - #[cfg(stage0)] - type Output = R; - extern "rust-call" fn call_once(self, args: A) -> R { self.call_box(args) } @@ -794,9 +788,6 @@ impl<A, R> FnOnce<A> for Box<dyn FnBox<A, Output = R> + '_> { #[unstable(feature = "fnbox", reason = "will be deprecated if and when `Box<FnOnce>` becomes usable", issue = "28796")] impl<A, R> FnOnce<A> for Box<dyn FnBox<A, Output = R> + Send + '_> { - #[cfg(stage0)] - type Output = R; - extern "rust-call" fn call_once(self, args: A) -> R { self.call_box(args) } |
