about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-01-28 03:19:29 +0800
committerkennytm <kennytm@gmail.com>2018-03-15 16:58:02 +0800
commit92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9 (patch)
tree61eeb58e84dcb4a8e85640fd50e1ad04e6c017ea /src/liballoc
parentb5913f2e7695ad247078619bf4c6a6d3dc4dece5 (diff)
downloadrust-92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9.tar.gz
rust-92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9.zip
Stabilize `inclusive_range_syntax` language feature.
Stabilize the syntax `a..=b` and `..=b`.
Diffstat (limited to 'src/liballoc')
-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 168dbb2ce9b..f5deecd47e8 100644
--- a/src/liballoc/tests/lib.rs
+++ b/src/liballoc/tests/lib.rs
@@ -14,7 +14,7 @@
 #![feature(alloc_system)]
 #![feature(attr_literals)]
 #![feature(box_syntax)]
-#![feature(inclusive_range_syntax)]
+#![cfg_attr(stage0, feature(inclusive_range_syntax))]
 #![feature(collection_placement)]
 #![feature(const_fn)]
 #![feature(drain_filter)]