about summary refs log tree commit diff
path: root/src/liballoc/boxed.rs
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2015-05-25 20:21:29 +0300
committerEduard Burtescu <edy.burt@gmail.com>2015-05-27 11:19:02 +0300
commit6e8e4f847c2ea02fec021ea15dfb2de6beac797a (patch)
tree7831f2de833ae0151217710dc87b2ba03a3bc128 /src/liballoc/boxed.rs
parent07503dfb8bd60e2047a0a5083dd5377f9f14b77d (diff)
downloadrust-6e8e4f847c2ea02fec021ea15dfb2de6beac797a.tar.gz
rust-6e8e4f847c2ea02fec021ea15dfb2de6beac797a.zip
Remove #[cfg(stage0)] items.
Diffstat (limited to 'src/liballoc/boxed.rs')
-rw-r--r--src/liballoc/boxed.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 6633e48a814..12eadcc145d 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -57,16 +57,12 @@ use core::any::Any;
 use core::cmp::Ordering;
 use core::fmt;
 use core::hash::{self, Hash};
+use core::marker::Unsize;
 use core::mem;
-use core::ops::{Deref, DerefMut};
+use core::ops::{CoerceUnsized, Deref, DerefMut};
 use core::ptr::{Unique};
 use core::raw::{TraitObject};
 
-#[cfg(not(stage0))]
-use core::marker::Unsize;
-#[cfg(not(stage0))]
-use core::ops::CoerceUnsized;
-
 /// A value that represents the heap. This is the default place that the `box`
 /// keyword allocates into when no place is supplied.
 ///
@@ -392,5 +388,4 @@ impl<'a,A,R> FnOnce<A> for Box<FnBox<A,Output=R>+Send+'a> {
     }
 }
 
-#[cfg(not(stage0))]
 impl<T: ?Sized+Unsize<U>, U: ?Sized> CoerceUnsized<Box<U>> for Box<T> {}