about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-03-26 18:34:27 -0700
committerBrian Anderson <banderson@mozilla.com>2015-03-27 12:50:49 -0700
commit1639e51f6e4d036478705f4581de3a7417ccec0f (patch)
tree2d46d1f1d593b0433ecfc0ca491bf1a9dfc74504 /src/libstd
parent199bdcfeff5cfafd1f8e8ff583d7209272469879 (diff)
downloadrust-1639e51f6e4d036478705f4581de3a7417ccec0f.tar.gz
rust-1639e51f6e4d036478705f4581de3a7417ccec0f.zip
Feature gate *all* slice patterns. #23121
Until some backwards-compatibility hazards are fixed in #23121,
these need to be unstable.

[breaking-change]
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index cca6bb747d4..56ab38b8d5a 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -129,6 +129,7 @@
 #![feature(allow_internal_unstable)]
 #![feature(str_char)]
 #![feature(into_cow)]
+#![feature(slice_patterns)]
 #![cfg_attr(test, feature(test, rustc_private, std_misc))]
 
 // Don't link to std. We are std.