summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-07-06 09:29:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-07-06 09:29:15 -0700
commit0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97 (patch)
treeb9f55cb777226ac455c4c76bb62870e85ef6fe03 /src/libstd/lib.rs
parentec58d0c9976c18c405a59d26252a1fa7a3e2a742 (diff)
downloadrust-0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97.tar.gz
rust-0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97.zip
rustc: Update stage0 to beta-2016-07-06
Hot off the presses, let's update our stage0 compiler!
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index a396c7be09a..d05a5a09614 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -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
-}