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 8 pull requests #113460

Closed
wants to merge 24 commits into from

Commits on Jul 6, 2023

  1. Configuration menu
    Copy the full SHA
    906d2b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a118ce2 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    ca8202d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a83ef8 View commit details
    Browse the repository at this point in the history
  3. If re-export is private, get the next item until a public one is foun…

    …d or expose the private item directly
    GuillaumeGomez committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    d03b0f5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3b7035 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52a7615 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f37a6b0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1d1951b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    010ee7b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    713f9bb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f55b046 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4a1e06b View commit details
    Browse the repository at this point in the history
  12. Fix failing clippy tests

    Comments out the C string literals due to rust-lang#113334
    
    Fixes rust-lang/rust-clippy#11121
    Alexendoo committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    cedcd39 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3aec8d4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6d80879 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#113335 - compiler-errors:reveal-opaques-in-…

    …new-solver, r=lcnr
    
    Reveal opaques in new solver
    
    We were testing against the wrong reveal mode 😨
    
    Also a couple of misc commits that I don't want to really put in separate prs
    
    r? ```@lcnr```
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    017086a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#113374 - GuillaumeGomez:private-to-public-p…

    …ath, r=notriddle,fmease
    
    [rustdoc] If re-export is private, get the next item until a public one is found or expose the private item directly
    
    Fixes rust-lang#81141.
    
    If we have:
    
    ```rust
    use Private as Something;
    
    pub fn foo() -> Something {}
    ```
    
    Then `Something` will be replaced by `Private`.
    
    r? ```@notriddle```
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    978cc75 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#113399 - compiler-errors:next-solver-byte-p…

    …at-again, r=oli-obk
    
    Structurally normalize again for byte string lit pat checking
    
    We need to structurally normalize the pointee of a match scrutinee when trying to match byte string patterns -- we used[^1] to call `structurally_resolve_type`, which errors for type vars[^2], but lcnr added `try_structurally_resolve_type`[^3] in the mean time, which is the right thing to use here since it's totally opportunistic.
    
    Fixes rust-lang/trait-system-refactor-initiative#38
    
    [^1]: rust-lang#112428
    [^2]: rust-lang#112993
    [^3]: rust-lang#113086
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    d495ff0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    bd79dda View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#113427 - compiler-errors:no-variances-of-rp…

    …itit-gat, r=spastorino
    
    Remove `variances_of` on RPITIT GATs, remove its one use-case
    
    It doesn't make sense to implement variances on a GAT anyways, since we don't relate GATs with variance:
    
    https://github.com/rust-lang/rust/blob/85bf07972a1041b9e25393b803d0e006bec3eaaf/compiler/rustc_middle/src/ty/relate.rs#L569-L579
    
    r? `@spastorino`
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    d8de054 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#113441 - RalfJung:assign-no-overlap, r=oli-obk

    miri: check that assignments do not self-overlap
    
    r? ```@oli-obk```
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    79ee3aa View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#113453 - spastorino:new-rpitit-30, r=compil…

    …er-errors
    
    Remove from_method symbol
    
    Fixes rust-lang#113439
    
    `on_unimplemented_note` was calling `item_name` for RPITITs and that produced ICEs. I've added a regression test for that but also have removed `from_method` symbol entirely because it wasn't even used and by doing that the `item_name` call was also removed.
    
    r? `@compiler-errors`
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    b08a729 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#113455 - Alexendoo:clippy-tests, r=Nilstrieb

    Fix failing clippy tests
    
    Comments out the C string literals due to rust-lang#113334
    
    Fixes rust-lang/rust-clippy#11121
    
    Opened against `rust-lang/rust` in order to unblock rust-lang#113450
    
    r? ``@Nilstrieb``
    GuillaumeGomez authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    d8f0b1f View commit details
    Browse the repository at this point in the history