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 #111481

Closed
wants to merge 19 commits into from

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    2198fae View commit details
    Browse the repository at this point in the history
  2. Add test.

    cjgillot committed May 10, 2023
    Configuration menu
    Copy the full SHA
    b64e911 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0d4e02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aeac555 View commit details
    Browse the repository at this point in the history
  5. Avoid shadowing.

    cjgillot committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9fb1c73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a2fe993 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Configuration menu
    Copy the full SHA
    ccd8ad7 View commit details
    Browse the repository at this point in the history
  2. Update cargo

    heiher committed May 11, 2023
    Configuration menu
    Copy the full SHA
    eadf3bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    616fb42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0630283 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e55400 View commit details
    Browse the repository at this point in the history
  6. Fix backtrace normalization in ice-bug-report-url.rs

    This test case currently fails on s390x, and probably other
    platforms where the last line of a backtrace does not contain
    and " at <source location>" specification.
    
    The problem with the existing normalization lines
    // normalize-stderr-test "\s*\d{1,}: .*\n" -> ""
    // normalize-stderr-test "\s at .*\n" -> ""
    is that \s matches all whitespace, including newlines, so the
    first (but not second) of these regexes may merge multiple
    lines.  Thus the output differs depending on which of these
    matches on the last line of a backtrace.
    
    As the whitespace used in backtraces is just normal space
    characters, change both regexes to just match at least one
    space character instead:
    // normalize-stderr-test " +\d{1,}: .*\n" -> ""
    // normalize-stderr-test " + at .*\n" -> ""
    uweigand committed May 11, 2023
    Configuration menu
    Copy the full SHA
    cac7e42 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#111366 - obeis:ascribe-user-type-variance, …

    …r=lcnr
    
    Make `NonUseContext::AscribeUserTy` carry `ty::Variance`
    
    Close rust-lang#108267
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    7e311dd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#111439 - uweigand:backtrace-normalize, r=co…

    …mpiler-errors
    
    Fix backtrace normalization in ice-bug-report-url.rs
    
    This test case currently fails on s390x, and probably other platforms where the last line of a backtrace does not contain and " at <source location>" specification.
    
    The problem with the existing normalization lines
    // normalize-stderr-test "\s*\d{1,}: .*\n" -> ""
    // normalize-stderr-test "\s at .*\n" -> ""
    is that \s matches all whitespace, including newlines, so the first (but not second) of these regexes may merge multiple lines.  Thus the output differs depending on which of these matches on the last line of a backtrace.
    
    As the whitespace used in backtraces is just normal space characters, change both regexes to just match at least one space character instead:
    // normalize-stderr-test " +\d{1,}: .*\n" -> ""
    // normalize-stderr-test " + at .*\n" -> ""
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    62e894f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#111441 - cjgillot:issue-111422, r=JakobDegen

    Verify copies of mutable pointers in 2 stages in ReferencePropagation
    
    Fixes rust-lang#111422
    
    In the first stage, we mark the copies as reborrows, to be checked later.
    In the second stage, we walk the reborrow chains to verify that all stages are fully replacable.
    
    The replacement itself mirrors the check, and iterates through the reborrow chain.
    
    r? ````@RalfJung````
    cc ````@JakobDegen````
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    d0b342c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#111444 - cjgillot:issue-111400, r=oli-obk

    Only warn single-use lifetime when the binders match.
    
    Fixes rust-lang#111400
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    7a674e4 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#111451 - compiler-errors:note-cast-origin, …

    …r=b-naber
    
    Note user-facing types of coercion failure
    
    When coercing, for example, `Box<A>` into `Box<dyn B>`, make sure that any failure notes mention *those* specific types, rather than mentioning inner types, like "the cast from `A` to `dyn B`".
    
    I expect end-users are often confused when we skip layers of types and only mention the "innermost" part of a coercion, especially when other notes point at HIR, e.g. rust-lang#111406.
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    beb1ff8 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#111456 - loongarch-rs:bump-cargo, r=weihanglo

    Update cargo
    
    2 commits in 26b73d15a68fb94579f6d3590585ec0e9d81d3d5..13413c64ff88dd6c2824e9eb9374fc5f10895d28
    2023-05-09 20:28:03 +0000 to 2023-05-10 13:46:18 +0000
    
    * Update libc to 0.2.144 (rust-lang/cargo#12098)
    * changelog: add entries of some behavior changes (rust-lang/cargo#12119)
    
    r? ````@weihanglo````
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    fe37a72 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#111459 - GuillaumeGomez:update-browser-ui-t…

    …est, r=notriddle
    
    Update browser-ui-test version to 0.16.0
    
    This new version brings one major improvement: it allows to use the original color format in checks (I plan to slowly continue converting colors back to their "original" format, ie the one used in CSS).
    
    It also provides some improvements in some commands API.
    
    r? ```@notriddle```
    matthiaskrgr authored May 11, 2023
    Configuration menu
    Copy the full SHA
    8971878 View commit details
    Browse the repository at this point in the history