about summary refs log tree commit diff
path: root/src/test/run-pass/range_inclusive.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-122/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-07-13Fix some RangeInclusive test cases.kennytm-10/+19
2018-06-02Stabilize Iterator::step_byThayne McCombs-2/+0
Fixes #27741
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-1/+1
Stabilize the syntax `a..=b` and `..=b`.
2018-03-15Stabilize `inclusive_range` library feature.kennytm-1/+1
Stabilize std::ops::RangeInclusive and std::ops::RangeInclusiveTo.
2017-09-22Add support for `..=` syntaxAlex Burka-34/+34
Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book
2017-07-01Delete deprecated & unstable range-specific `step_by`Scott McMurray-1/+1
Replacement: 41439 Deprecation: 42310 for 1.19 Fixes 41477
2017-05-21Return a correct size_hint for degenerate inclusive rangesScott McMurray-7/+7
Fixes https://github.com/rust-lang/rust/issues/42135 Found while fixing run-pass/range_inclusive test failure.
2016-09-12remove ExactSizeIterator from RangeInclusive<u/isize>Alex Burka-1/+1
2016-07-03std: Stabilize APIs for the 1.11.0 releaseAlex Crichton-5/+0
Although the set of APIs being stabilized this release is relatively small, the trains keep going! Listed below are the APIs in the standard library which have either transitioned from unstable to stable or those from unstable to deprecated. Stable * `BTreeMap::{append, split_off}` * `BTreeSet::{append, split_off}` * `Cell::get_mut` * `RefCell::get_mut` * `BinaryHeap::append` * `{f32, f64}::{to_degrees, to_radians}` - libcore stabilizations mirroring past libstd stabilizations * `Iterator::sum` * `Iterator::product` Deprecated * `{f32, f64}::next_after` * `{f32, f64}::integer_decode` * `{f32, f64}::ldexp` * `{f32, f64}::frexp` * `num::One` * `num::Zero` Added APIs (all unstable) * `iter::Sum` * `iter::Product` * `iter::Step` - a few methods were added to accomodate deprecation of One/Zero Removed APIs * `From<Range<T>> for RangeInclusive<T>` - everything about `RangeInclusive` is unstable Closes #27739 Closes #27752 Closes #32526 Closes #33444 Closes #34152 cc #34529 (new tracking issue)
2016-03-04add underflow/overflow testsAlex Burka-0/+8
2016-02-27fix underflow in DoubleEndedIterator::next_backAlex Burka-0/+5
2016-02-27add indexing with RangeInclusive in libcore and libcollectionsAlex Burka-0/+18
2016-02-27add StepBy for RangeInclusiveAlex Burka-3/+1
2016-02-27test inclusive rangesAlex Burka-0/+100
Mostly copy the tests from half-open ranges, adding some more for DoubleEndedIterator and ExactSizeIterator. Also thoroughly (I think) test that the feature gates are working.