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 6 pull requests #111919

Merged
merged 12 commits into from
May 25, 2023
Merged

Rollup of 6 pull requests #111919

merged 12 commits into from
May 25, 2023

Commits on May 3, 2023

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

Commits on May 19, 2023

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

Commits on May 22, 2023

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

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    0a7293f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1387e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7ccbdd View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#111121 - Zalathar:ra-false-positive, r=jack…

    …h726
    
    Work around `rust-analyzer` false-positive type errors
    
    rust-analyzer incorrectly reports two type errors in `debug.rs`:
    
    > expected &dyn Display, found &i32
    > expected &dyn Display, found &i32
    
    This is due to a known bug in r-a: (rust-lang/rust-analyzer#11847).
    
    In these particular cases, changing `&0` to `&0i32` seems to be enough to avoid the bug.
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    09489b9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#111759 - cjgillot:interval-kill, r=b-naber

    Leverage the interval property to precompute borrow kill points.
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    52890cc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#111841 - matthewjasper:validate-match-guard…

    …s, r=compiler-errors
    
    Run AST validation on match guards correctly
    
    AST validation was being skipped on match guards other than `if let` guards.
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    092352f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#111862 - compiler-errors:opq, r=lcnr

    Split out opaque collection from from `type_of`
    
    requested by lcnr
    
    r? `@lcnr`
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    d09ee57 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#111863 - compiler-errors:check-more-mir, r=…

    …b-naber
    
    Don't skip mir typeck if body has errors
    
    Comment says:
    
    ```
    // if verifier failed, don't do further checks to avoid ICEs
    ```
    
    But there are no ICEs to be found. The comment is quite old, so perhaps something fixed it... maybe because the MIR typechecker is delaying span bugs rather than panicking via eager bugs? IDK
    
    I'm generally inclined to fix the ICEs themselves that were to arise from this, rather than just totally skipping large parts of the compiler that have impacts on downstream logic (namely, our opaque type results are affected). Anyways, this happens on the error path, so it shouldn't really matter.
    
    Fixes this hack: https://github.com/rust-lang/rust/pull/111853/files#r1201501540
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    680f8b8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#111903 - GuillaumeGomez:migrate-gui-test-co…

    …lor-6, r=notriddle
    
    Migrate GUI colors test to original CSS color format
    
    Follow-up of rust-lang#111459.
    
    r? `@notriddle`
    matthiaskrgr committed May 24, 2023
    Configuration menu
    Copy the full SHA
    0cc987f View commit details
    Browse the repository at this point in the history