diff options
| author | bors <bors@rust-lang.org> | 2018-03-29 11:34:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-03-29 11:34:17 +0000 |
| commit | ae544ee1c90afc0f939753014dc5e884cb2749a0 (patch) | |
| tree | d07caa9ff970a3127f3530bc78460b81fe727ca7 /src/rustllvm/RustWrapper.cpp | |
| parent | 409744bcb91f4efa35b8fcc9e7033523a86b90c2 (diff) | |
| parent | 6c9b3cccbcef8918829e173a2ea9c5d975cd2777 (diff) | |
| download | rust-ae544ee1c90afc0f939753014dc5e884cb2749a0.tar.gz rust-ae544ee1c90afc0f939753014dc5e884cb2749a0.zip | |
Auto merge of #49163 - SimonSapin:range-bounds, r=alexcrichton
Rename RangeArgument to RangeBounds, move it and Bound to libcore
As proposed in the tracking issue: https://github.com/rust-lang/rust/issues/30877
Changes to *stable* items:
* `core::ops::Bound` / `std::ops::Bound` is new
* `std::collections::Bound` is a deprecated reexport of it (does this actually cause a warning?)
Changes to *unstable* items
* `alloc::Bound` is gone
* `alloc::range::RangeArgument` is moved to `core::ops::RangeBounds` / `std::ops::RangeBounds`
* `alloc::range` is gone
* `std::collections::range::RangeArgument` is deprecated reexport, to be removed later
* `std::collections::range` is deprecated, to be removed later
* `impl RangeBounds<T> for Range{,From,To,Inclusive,ToInclusive}<&T>` are added
The idea of replacing this trait with a type to be used with `Into<_>` is left for future consideration / work.
(Fixes https://github.com/rust-lang-nursery/rust-clippy/issues/2552.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
