about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-15 02:50:55 +0800
committerkennytm <kennytm@gmail.com>2018-03-15 17:01:30 +0800
commit939cfa251aeb34b4b1a11396af1a3396792c708d (patch)
tree2f2a356349d3d29945afef5b4f2c810860d09ebc /src/liballoc
parent6399d16cfde37b06f6b82cdafa623e36385d7252 (diff)
downloadrust-939cfa251aeb34b4b1a11396af1a3396792c708d.tar.gz
rust-939cfa251aeb34b4b1a11396af1a3396792c708d.zip
Keep the fields of RangeInclusive unstable.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs1
-rw-r--r--src/liballoc/tests/lib.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index cbfec554604..fb7f114ba1a 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -123,6 +123,7 @@
 #![feature(on_unimplemented)]
 #![feature(exact_chunks)]
 #![feature(pointer_methods)]
+#![feature(inclusive_range_fields)]
 
 #![cfg_attr(not(test), feature(fn_traits, placement_new_protocol, swap_with_slice, i128))]
 #![cfg_attr(test, feature(test, box_heap))]
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs
index f5deecd47e8..4fea2375558 100644
--- a/src/liballoc/tests/lib.rs
+++ b/src/liballoc/tests/lib.rs
@@ -29,6 +29,7 @@
 #![feature(unboxed_closures)]
 #![feature(unicode)]
 #![feature(exact_chunks)]
+#![feature(inclusive_range_fields)]
 
 extern crate alloc_system;
 extern crate std_unicode;