From fccf5a00056b1d72065951a4428070326df1cfb5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 18 Mar 2015 09:36:18 -0700 Subject: Register new snapshots --- src/liballoc/boxed.rs | 1 - src/liballoc/heap.rs | 4 ---- src/liballoc/rc.rs | 3 --- 3 files changed, 8 deletions(-) (limited to 'src/liballoc') 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 { } } -#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl BoxAny for Box { #[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}; -- cgit 1.4.1-3-g733a5