From a38f29272ef4d04f0cc77e4f8d4fa5fac7ed746d Mon Sep 17 00:00:00 2001 From: Masaki Hara Date: Sun, 10 Feb 2019 19:25:56 +0900 Subject: We already have unsized_locals in stage0. --- src/liballoc/boxed.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/liballoc') 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 ExactSizeIterator for Box { #[stable(feature = "fused", since = "1.26.0")] impl FusedIterator for Box {} -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -706,7 +705,6 @@ impl + ?Sized> FnOnce for Box { } } -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -716,7 +714,6 @@ impl + ?Sized> FnMut for Box { } } -#[cfg(not(stage0))] #[unstable(feature = "boxed_closure_impls", reason = "Box relies on unsized rvalues and needs to be tested more", issue = "48055")] @@ -783,9 +780,6 @@ impl FnBox for F #[unstable(feature = "fnbox", reason = "will be deprecated if and when `Box` becomes usable", issue = "28796")] impl FnOnce for Box + '_> { - #[cfg(stage0)] - type Output = R; - extern "rust-call" fn call_once(self, args: A) -> R { self.call_box(args) } @@ -794,9 +788,6 @@ impl FnOnce for Box + '_> { #[unstable(feature = "fnbox", reason = "will be deprecated if and when `Box` becomes usable", issue = "28796")] impl FnOnce for Box + Send + '_> { - #[cfg(stage0)] - type Output = R; - extern "rust-call" fn call_once(self, args: A) -> R { self.call_box(args) } -- cgit 1.4.1-3-g733a5