about summary refs log tree commit diff
path: root/src/liballoc/tests
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-06 02:03:22 +0800
committerkennytm <kennytm@gmail.com>2018-04-30 21:01:13 +0800
commitfba903a435ea6e0e3736541cb487586262835e48 (patch)
tree6ce260eae5de518e942966cae3bb7f5371479153 /src/liballoc/tests
parent64e6dda0bce96da47e52f7f3e278d05f7a09473c (diff)
downloadrust-fba903a435ea6e0e3736541cb487586262835e48.tar.gz
rust-fba903a435ea6e0e3736541cb487586262835e48.zip
Make the fields of RangeInclusive private.
Added new()/start()/end() methods to RangeInclusive.

Changed the lowering of `..=` to use RangeInclusive::new().
Diffstat (limited to 'src/liballoc/tests')
-rw-r--r--src/liballoc/tests/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs
index 32272169307..1c8ff316e55 100644
--- a/src/liballoc/tests/lib.rs
+++ b/src/liballoc/tests/lib.rs
@@ -25,7 +25,7 @@
 #![feature(try_reserve)]
 #![feature(unboxed_closures)]
 #![feature(exact_chunks)]
-#![feature(inclusive_range_fields)]
+#![feature(inclusive_range_methods)]
 
 extern crate alloc_system;
 extern crate core;