about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-07-05 23:23:34 -0700
committerGitHub <noreply@github.com>2024-07-05 23:23:34 -0700
commit9c8a88996eb9f51846fb60aa40e411ed95066fae (patch)
tree01e92cb63a533287fdf07f1e3c72179a4829c662 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent51917e2e69702e5752bce6a4f3bfd285d0f4ae39 (diff)
parentffea65bf6101ddecf14787c1a29a1460320c5a91 (diff)
downloadrust-9c8a88996eb9f51846fb60aa40e411ed95066fae.tar.gz
rust-9c8a88996eb9f51846fb60aa40e411ed95066fae.zip
Rollup merge of #125751 - pitaj:new_range_api, r=jhpratt
Add `new_range_api` for RFC 3550

Initial implementation for #125687

This includes a `From<legacy::RangeInclusive> for RangeInclusive` impl for convenience, instead of the `TryFrom` impl from the RFC. Having `From` is highly convenient and the debug assert should find almost all misuses.

This includes re-exports of all existing `Range` types under `core::range`, plus the range-related traits (`RangeBounds`, `Step`, `OneSidedRange`) and the `Bound` enum.

Currently the iterators are just wrappers around the old range types.

Tracking issues:

- https://github.com/rust-lang/rust/issues/123741
- https://github.com/rust-lang/rust/issues/125687
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions