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 9 pull requests #114294

Merged
merged 13 commits into from
Jul 31, 2023
Merged

Rollup of 9 pull requests #114294

merged 13 commits into from
Jul 31, 2023

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    f1753ff View commit details
    Browse the repository at this point in the history
  2. fix comment

    lcnr committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    17f87c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. Configuration menu
    Copy the full SHA
    0ca4328 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2377661 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44c8ab9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c77329c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    6f5c51f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e617faa View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#114169 - lcnr:unsize, r=compiler-errors

    refactor builtin unsize handling, extend comments
    
    r? `@compiler-errors`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b8f78fb View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#114228 - fmease:wf-lazy-ty-aliases, r=oli-obk

    Check lazy type aliases for well-formedness
    
    Previously we didn't check if `T: Mul` holds given lazy `type Alias<T> = <T as Mul>::Output;`.
    Now we do. It only makes sense.
    
    `@rustbot` label F-lazy_type_alias
    
    r? `@oli-obk`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    95b7116 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#114267 - compiler-errors:rpitit-opaque-boun…

    …ds, r=spastorino
    
    Map RPITIT's opaque type bounds back from projections to opaques
    
    An RPITIT in a program's AST is eventually translated into both a projection GAT and an opaque. The opaque is used for default trait methods, like:
    
    ```
    trait Foo {
      fn bar() -> impl Sized { 0i32 }
    }
    ```
    
    The item bounds for both the projection and opaque are identical, and both have a *projection* self ty. This is mostly okay, since we can normalize this projection within the default trait method body to the opaque, but it does two things:
    1. it leads to bugs in places where we don't normalize item bounds, like `deduce_future_output_from_obligations`
    2. it leads to extra match arms that are both suspicious looking and also easy to miss
    
    This PR maps the opaque type bounds of the RPITIT's *opaque* back to the opaque's self type to avoid this quirk. Then we can fix the UI test for rust-lang#108304 (1.) and also remove a bunch of match arms (2.).
    
    Fixes rust-lang#108304
    
    r? `@spastorino`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    692d764 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#114269 - GuillaumeGomez:migrate-gui-test-co…

    …lor-24, r=notriddle
    
    Migrate GUI colors test to original CSS color format
    
    Follow-up of rust-lang#111459.
    
    r? `@notriddle`
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    81bb311 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#114286 - nbdd0121:upcast, r=compiler-errors

    Add missing feature gate in multiple_supertrait_upcastable doc
    
    Fix rust-lang#112424
    matthiaskrgr committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    f59a560 View commit details
    Browse the repository at this point in the history