Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 5 pull requests #127414

Merged
merged 14 commits into from
Jul 6, 2024
Merged

Rollup of 5 pull requests #127414

merged 14 commits into from
Jul 6, 2024

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    3cdce7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7399471 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    811532b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5fd5b65 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a35fc4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    76da7ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8e9a366 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7569205 View commit details
    Browse the repository at this point in the history
  9. add new_range_api for RFC 3550

    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 assertion is unlikely to be a problem in practice.
    
    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,
    and most other trait impls delegate to the old rage types as well.
    
    Also includes an `.iter()` shorthand for `.clone().into_iter()`
    pitaj committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ffea65b View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Rollup merge of rust-lang#125751 - pitaj:new_range_api, r=jhpratt

    Add `new_range_api` for RFC 3550
    
    Initial implementation for rust-lang#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:
    
    - rust-lang#123741
    - rust-lang#125687
    workingjubilee committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    9c8a889 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#127098 - Oneirical:big-test-party, r=Kobzol…

    …,jieyouxu
    
    Migrate `output-type-permutations` `run-make` test to rmake
    
    Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
    
    try-job: x86_64-msvc
    try-job: armhf-gnu
    try-job: aarch64-apple
    try-job: test-various
    workingjubilee committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    0262972 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#127369 - Jules-Bertholet:match-ergonomics-2…

    …021, r=Nadrieril
    
    Match ergonomics 2024: align with RFC again
    
    - `&` matches `&mut` on old editions
    - Add some more tests
    
    r? ``@Nadrieril``
    
    cc rust-lang#123076
    
    ``@rustbot`` label A-edition-2024 A-patterns
    workingjubilee committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    3ba4195 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#127383 - estebank:arg-removal, r=compiler-e…

    …rrors
    
    Use verbose style for argument removal suggestion
    workingjubilee committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    d0f61ce View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#127392 - estebank:arg-type, r=jieyouxu

    Use verbose suggestion for changing arg type
    workingjubilee committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    8531487 View commit details
    Browse the repository at this point in the history