Skip to content

Commit

Permalink
Auto merge of #25790 - eddyb:oh-snap-ctfe-arrived, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed May 27, 2015
2 parents a2cf2c6 + 377b090 commit eb16ad6
Show file tree
Hide file tree
Showing 94 changed files with 441 additions and 1,878 deletions.
686 changes: 0 additions & 686 deletions src/liballoc/arc_stage0.rs

This file was deleted.

9 changes: 2 additions & 7 deletions src/liballoc/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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> {}
7 changes: 0 additions & 7 deletions src/liballoc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,7 @@ pub mod boxed;
mod boxed { pub use std::boxed::{Box, HEAP}; }
#[cfg(test)]
mod boxed_test;
#[cfg(not(stage0))]
pub mod arc;
#[cfg(stage0)]
mod arc_stage0;
#[cfg(stage0)]
pub mod arc {
pub use arc_stage0::*;
}
pub mod rc;

/// Common out-of-memory routine
Expand Down
Loading

0 comments on commit eb16ad6

Please sign in to comment.