about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-18 09:36:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-18 16:32:32 -0700
commitfccf5a00056b1d72065951a4428070326df1cfb5 (patch)
tree481e99dcf4197b0b25cd765877c1b132f768d772 /src/liballoc
parent94a95067e017252d4928a4292a6aeef66902e694 (diff)
downloadrust-fccf5a00056b1d72065951a4428070326df1cfb5.tar.gz
rust-fccf5a00056b1d72065951a4428070326df1cfb5.zip
Register new snapshots
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs1
-rw-r--r--src/liballoc/heap.rs4
-rw-r--r--src/liballoc/rc.rs3
3 files changed, 0 insertions, 8 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 50935e6404d..6bdfe2b1551 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -264,7 +264,6 @@ impl BoxAny for Box<Any> {
     }
 }
 
-#[cfg(not(stage0))]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl BoxAny for Box<Any+Send> {
     #[inline]
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs
index 25c6bda5f39..aaf6e76237c 100644
--- a/src/liballoc/heap.rs
+++ b/src/liballoc/heap.rs
@@ -8,10 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[cfg(stage0)]
-#[cfg(not(test))]
-use core::ptr::PtrExt;
-
 // FIXME: #13996: mark the `allocate` and `reallocate` return value as `noalias`
 
 /// Return a pointer to `size` bytes of memory aligned to `align`.
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 3692149db44..855235e89c8 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -159,9 +159,6 @@ use core::nonzero::NonZero;
 use core::ops::{Deref, Drop};
 use core::option::Option;
 use core::option::Option::{Some, None};
-#[cfg(stage0)]
-use core::ptr::{self, PtrExt};
-#[cfg(not(stage0))]
 use core::ptr;
 use core::result::Result;
 use core::result::Result::{Ok, Err};