about summary refs log tree commit diff
path: root/src/libnative/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-07 06:17:11 +0000
committerbors <bors@rust-lang.org>2014-10-07 06:17:11 +0000
commite62ef37cfae680e60584731635a89e955121a5bb (patch)
tree768fd0552e75e5380b1122ac56448f0465df8fb3 /src/libnative/lib.rs
parent8d702167ba6af50c64683685bae4956cb094a23a (diff)
parenteb2fdc8b065218476744ed428097c859616c62f0 (diff)
auto merge of #17807 : nick29581/rust/slice6, r=aturon
r? @aturon
Diffstat (limited to 'src/libnative/lib.rs')
-rw-r--r--src/libnative/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 267ff3d2a81..5def99d8ef3 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -57,7 +57,8 @@
 
 #![deny(unused_result, unused_must_use)]
 #![allow(non_camel_case_types, deprecated)]
-#![feature(default_type_params, lang_items)]
+#![allow(unknown_features)]
+#![feature(default_type_params, lang_items, slicing_syntax)]
 
 // NB this crate explicitly does *not* allow glob imports, please seriously
 //    consider whether they're needed before adding that feature here (the