about summary refs log tree commit diff
path: root/src/libnative
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/libnative
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/libnative')
-rw-r--r--src/libnative/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 5def99d8ef3..267ff3d2a81 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -57,8 +57,7 @@
 
 #![deny(unused_result, unused_must_use)]
 #![allow(non_camel_case_types, deprecated)]
-#![allow(unknown_features)]
-#![feature(default_type_params, lang_items, slicing_syntax)]
+#![feature(default_type_params, lang_items)]
 
 // NB this crate explicitly does *not* allow glob imports, please seriously
 //    consider whether they're needed before adding that feature here (the