rustc: Update stage0 to beta-2016-07-06

Hot off the presses, let's update our stage0 compiler!
This commit is contained in:
Alex Crichton
2016-07-06 09:29:15 -07:00
parent ec58d0c997
commit 0c137ab0a6
11 changed files with 11 additions and 42 deletions

View File

@@ -468,15 +468,3 @@ pub mod __rand {
// the rustdoc documentation for primitive types. Using `include!`
// because rustdoc only looks for these modules at the crate level.
include!("primitive_docs.rs");
// FIXME(stage0): remove this after a snapshot
// HACK: this is needed because the interpretation of slice
// patterns changed between stage0 and now.
#[cfg(stage0)]
fn slice_pat<'a, 'b, T>(t: &'a &'b [T]) -> &'a &'b [T] {
t
}
#[cfg(not(stage0))]
fn slice_pat<'a, 'b, T>(t: &'a &'b [T]) -> &'b [T] {
*t
}