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 10 pull requests #109189

Closed
wants to merge 24 commits into from

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    a6446c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44813e0 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    50f7520 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e482701 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf6424e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    bd17322 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3d537b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d87fbb9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d2b7604 View commit details
    Browse the repository at this point in the history
  5. Revert "Auto merge of rust-lang#107376 - aliemjay:remove-givens, r=lcnr"

    This reverts commit e84e5ff, reversing
    changes made to 1716932.
    lqd committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    5ad1083 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e667872 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e1ab1d View commit details
    Browse the repository at this point in the history
  8. unequal → not equal

    gimbling-away committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    e5a5b90 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    683c12c View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#108875 - notriddle:notriddle/return-trait, …

    …r=GuillaumeGomez
    
    rustdoc: fix type search for `Option` combinators
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    7f3d88a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#108971 - Ezrashaw:E0532-better-binding-name…

    …s, r=WaffleLapkin
    
    error-msg: impl better suggestion for `E0532`
    
    Fixes rust-lang#106862
    
    No test as there is already a test which is nearly identical to the example in the linked issue.
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    c411d36 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#109139 - GuillaumeGomez:rustdoc-windows-wai…

    …t-for-write, r=notriddle
    
    rustdoc: DocFS: Replace rayon with threadpool and enable it for all targets
    
    Fixes rust-lang#109060.
    
    Switching to `threadpool` makes it a bit simpler for us to wait for all tasks in `DocFS` directly in the `Drop` implementation. I'm also curious if making all the writes into a thread pool could improve run time for rustdoc on all other platforms than Windows as well.
    
    I'll run a perf check to see.
    
    cc `@ehuss`
    r? `@notriddle`
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ead92dd View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#109151 - compiler-errors:debug-assert-alias…

    …, r=WaffleLapkin
    
    Assert def-kind is correct for alias types
    
    Make sure we're not constructing alias types for the wrong def-kind, at least for debug cases 😅
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    b62fe7a View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#109166 - lcnr:define_opaque_types-explicit,…

    … r=oli-obk
    
    make `define_opaque_types` fully explicit
    
    based on the idea of rust-lang#108389. Moved `define_opaque_types` into the actual operations, e.g. `eq`, instead of `infcx.at` because normalization doesn't use `define_opaque_types` and even creates it's own `At` with a different `define_opaque_types` internally.
    
    Somewhat surprisingly, coherence actually relies on `DefineOpaqueTypes::Yes` for soundness which was revealed because I've incorrectly used `DefineOpaqueTypes::No` in `equate_impl_headers`. It feels concerning that even though this is the case, we still sometimes use `DefineOpaqueTypes::No` in coherence. I did not look into this as part of this PR as it is purely changing the structure of the code without changing behavior in any way.
    
    r? `@oli-obk`
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    8dac658 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#109171 - oli-obk:normalization_cleanup, r=c…

    …ompiler-errors
    
    Some cleanups in our normalization logic
    
    Changed a match to be exhaustive and deduplicated some code.
    
    r? `@compiler-errors`
    
    this pulls out the uncontroversial part of rust-lang#108860
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ef22ccb View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#109172 - scottmcm:move-codegen-issues-tests…

    …, r=WaffleLapkin
    
    mv tests/codegen/issue-* tests/codegen/issues/
    
    No changes to the contents; just a move.
    
    Like how there's a <https://github.com/rust-lang/rust/tree/master/tests/ui/issues> folder.
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    af5a737 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6e76106 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#109183 - lqd:revert-107376, r=compiler-errors

    Revert rust-lang#107376 to fix potential `bincode` breakage and `rustc-perf` benchmark.
    
    rust-lang#107376 caused `rustc-perf`'s `webrender` benchmark to break, by regressing on the `bincode-1.3.3` crate.
    
    ~~This PR is a draft revert in case we can't land a fix soon enough, and we'd like to land the revert instead~~
    
    (Though I myself think it'd be safer to do the revert, and run crater when relanding rust-lang#107376.)
    
    cc `@aliemjay`
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    7805446 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#109185 - notriddle:notriddle/primitive-tool…

    …tip, r=jsha
    
    rustdoc: remove `std::` from primitive intra-doc link tooltips
    
    Take the intra-doc link to the method `iter` from https://doc.rust-lang.org/nightly/std/slice/struct.Iter.html
    
    Before: `method std::slice::iter`
    
    After: `method slice::iter`
    matthiaskrgr authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    a350c76 View commit details
    Browse the repository at this point in the history