diff options
| author | bors <bors@rust-lang.org> | 2018-03-15 16:00:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-03-15 16:00:40 +0000 |
| commit | 39264539448e7ec5e98067859db71685393a4464 (patch) | |
| tree | 6a492ca09f4ca864ab619a0dc97565680bcd1030 /src/liballoc/tests | |
| parent | ff2d506c2c748bd218f74c6014abc4cecc8c74c4 (diff) | |
| parent | 939cfa251aeb34b4b1a11396af1a3396792c708d (diff) | |
Auto merge of #47813 - kennytm:stable-incl-range, r=nrc
Stabilize inclusive range (`..=`) Stabilize the followings: * `inclusive_range` — The `std::ops::RangeInclusive` and `std::ops::RangeInclusiveTo` types, except its fields (tracked by #49022 separately). * `inclusive_range_syntax` — The `a..=b` and `..=b` expression syntax * `dotdoteq_in_patterns` — Using `a..=b` in a pattern cc #28237 r? @rust-lang/lang
Diffstat (limited to 'src/liballoc/tests')
| -rw-r--r-- | src/liballoc/tests/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs index 285cba0270c..bcd2ef27605 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)] @@ -30,6 +30,7 @@ #![feature(unboxed_closures)] #![feature(unicode)] #![feature(exact_chunks)] +#![feature(inclusive_range_fields)] extern crate alloc_system; extern crate std_unicode; |
