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 7 pull requests #128957

Closed
wants to merge 25 commits into from

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    04d9b08 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    ccfd94e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74f76ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cd8005 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e98e19e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f48851 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5ed6fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c764bea View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c4c518d View commit details
    Browse the repository at this point in the history
  9. Simplify hoisting of array/slice patterns

    We can replace some tricky iterator-mutation code with a much simpler version
    that uses `while let` to shrink a slice.
    
    We also check whether a subpattern would be a wildcard _before_ hoisting it,
    which will be very useful when trying to get rid of `print::PatKind` later.
    Zalathar committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    a245bfa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    582208b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    29245ec View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    482412c View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    ae09340 View commit details
    Browse the repository at this point in the history
  2. core: optimise Debug impl for ascii::Char

    Rather than writing character at a time, optimise Debug implementation
    for core::ascii::Char such that it writes the entire representation as
    with a single write_str call.
    
    With that, add tests for Display and Debug implementations.
    mina86 committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    7d1de7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c02e2b View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. rm import.used

    bvanjoi committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    217ee32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acb0ecc View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Rollup merge of rust-lang#120314 - mina86:i, r=Mark-Simulacrum

    core: optimise Debug impl for ascii::Char
    
    Rather than writing character at a time, optimise Debug implementation
    for core::ascii::Char such that it writes the entire representation
    with a single write_str call.
    
    With that, add tests for Display and Debug.
    
    Issue: rust-lang#110998
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    d1176a2 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#128536 - Zalathar:print-cleanup, r=Nadrieril

    Preliminary cleanup of `WitnessPat` hoisting/printing
    
    Follow-up to rust-lang#128430.
    
    The eventual goal is to remove `print::Pat` entirely, but in the course of working towards that I made so many small improvements that it seems wise to let those be reviewed/merged on their own first.
    
    Best reviewed commit-by-commit, most of which should be pretty simple and straightforward.
    
    r? `@Nadrieril`
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    202e5c1 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#128592 - evelynharthbrooke:master, r=Mark-S…

    …imulacrum
    
    Promote aarch64-apple-darwin to Tier 1
    
    This promotes aarch64-apple-darwin to Tier 1 status as per rust-lang/rfcs#3671 and tracking issue rust-lang#73908. Not sure what else is necessary for this to impement the aforementioned RFC, however I figured I'd try. I did read in previous issues and PRs that the necessary infrastructure was already in place for the aarch64-apple-darwin target, and the RFC mentions the same. So this should be all thats necessary in order for the target to be promoted.
    
    This is a recreation of my previous PR because I accidentally did an incorrect git rebase which caused unnecessary changes to various commit SHAs. So this PR is a recreation of my previous PR without said stumble. My bad.
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    825f0b5 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#128762 - fmease:use-more-slice-pats, r=comp…

    …iler-errors
    
    Use more slice patterns inside the compiler
    
    Nothing super noteworthy. Just replacing the common 'fragile' pattern of "length check followed by indexing or unwrap" with slice patterns for legibility and 'robustness'.
    
    r? ghost
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    d4ca5fa View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#128875 - bvanjoi:cleanup-import-used, r=pet…

    …rochenkov
    
    rm `import.used`
    
    By the way, `import_used_map` will only be used during `build_reduced_graph` and `finalize`, so it can be split from `Resolver` in the future.
    
    r? `@petrochenkov`
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    16c9055 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#128882 - RalfJung:local-waker-will-wake, r=…

    …cuviper
    
    make LocalWaker::will_wake consistent with Waker::will_wake
    
    This mirrors rust-lang#119863 for `LocalWaker`. Looks like that got missed in the initial `LocalWaker` PR (rust-lang#118960).
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    72ddd9a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#128922 - Nadrieril:r-a-use-upstream-pat-ana…

    …, r=Veykril
    
    rust-analyzer: use in-tree `pattern_analysis` crate
    
    r? `@Veykril`
    matthiaskrgr authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    fdcb89b View commit details
    Browse the repository at this point in the history