about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-02 11:47:51 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-02 11:47:51 -0700
commit7bf56df4c8bf40a16f2743447b7688343642f370 (patch)
treea3854d324e66cf84cc78d1a89faff4a6265a9058 /src/libstd/lib.rs
parent2f365ffdad40475e8f70f7af7f210d6c597b60f5 (diff)
downloadrust-7bf56df4c8bf40a16f2743447b7688343642f370.tar.gz
rust-7bf56df4c8bf40a16f2743447b7688343642f370.zip
Revert "Put slicing syntax behind a feature gate."
This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 82de55efad6..7304871cf21 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -105,10 +105,9 @@
        html_root_url = "http://doc.rust-lang.org/master/",
        html_playground_url = "http://play.rust-lang.org/")]
 
-#![allow(unknown_features)]
 #![feature(macro_rules, globs, managed_boxes, linkage)]
 #![feature(default_type_params, phase, lang_items, unsafe_destructor)]
-#![feature(import_shadowing, slicing_syntax)]
+#![feature(import_shadowing)]
 
 // Don't link to std. We are std.
 #![no_std]