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

Merged
merged 17 commits into from
Sep 10, 2022
Merged

Rollup of 6 pull requests #101652

merged 17 commits into from
Sep 10, 2022

Commits on Sep 7, 2022

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

Commits on Sep 9, 2022

  1. doc: fix minor typo

    akhi3030 authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    1933b74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14f2acd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c63020a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    022e3fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f8d552 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    624f972 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. Configuration menu
    Copy the full SHA
    56e9ec5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1aea94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d92d642 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6302530 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#101578 - lcnr:resolve-hack, r=jackh726

    remove bound var hack in `resolve`
    
    somehow dropped that change from rust-lang#98900.
    
    r? `@jackh726`
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    2386ed9 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101606 - akhi3030:patch-1, r=Dylan-DPC

    doc: fix minor typo
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    33d54c4 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101614 - compiler-errors:rpitit-eq, r=jackh726

    Equate fn outputs when inferring RPITIT hidden types
    
    When we are trying to infer the hidden types for RPITITs, we need to equate the output tys instead of just subtyping them. For example:
    
    ```rust
    trait Foo { fn bar() -> impl Sized {} }
    
    impl Foo for () { fn bar() -> &'static str { "" } }
    ```
    
    If we just subtype the signatures `fn() -> &'static str <: fn() -> _#1t` (where `_#1t` is the variable we've used to infer `impl Sized`), we'll end up `&'static str <: _#1t`, which causes us to infer `_#1t = #'_#2r str`, where `'_#2r` is unconstrained, which gets fixed up to `ReEmpty`, and which is certainly not what we want.
    
    I can't actually think of a way to make this fail to compile, because during borrowck we've already done the method probe, and so we just look at the `impl` method signature and see the `&'static str` any time we call `<() as Foo>::bar()`. But this _does_ cause the ICE [here](rust-lang#98559 (comment)) in `@jackh726's` "Remove ReEmpty" PR (rust-lang#98559) to stop ICEing, because after that PR we were leaking unconstrained region variables into the typeck results.
    
    r? types
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    f1412a6 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101631 - rust-lang:notriddle/duplicate-modu…

    …le, r=GuillaumeGomez
    
    rustdoc: avoid cleaning modules with duplicate names
    
    Fixes rust-lang#83375
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    6afbe3e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101635 - jyn514:queries-new-derived, r=cjgi…

    …llot
    
    Move `Queries::new` out of the macro
    
    Split out from rust-lang#101178 to make sure it's not contributing to the perf impact.
    
    r? `@cjgillot`
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    b0455e9 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101641 - GuillaumeGomez:update-browser-ui-t…

    …est, r=Dylan-DPC
    
    Update browser-ui-test version to 0.9.8
    
    This version improves the error output mostly.
    
    r? `@Dylan-DPC`
    Dylan-DPC authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    7835610 View commit details
    Browse the repository at this point in the history