Skip to content

Rollup of 10 pull requests #109205

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 24 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

notriddle and others added 24 commits March 7, 2023 11:20
…r=GuillaumeGomez

rustdoc: fix type search for `Option` combinators
…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.
…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``
…, 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 😅
… 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``
…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
…, 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.
…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`
…iplett

Mention UEFI target promotion in release notes for 1.67.0

The promotion happened in rust-lang#103933, but it was forgotten in the release notes for 1.67.0.

See also discussion in https://rust-lang.zulipchat.com/#narrow/stream/241545-t-release/topic/UEFI.20targets.20relnotes
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-release Relevant to the release subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Mar 16, 2023
@rustbot rustbot added the rollup A PR which is a rollup label Mar 16, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=10

@bors
Copy link
Collaborator

bors commented Mar 16, 2023

📌 Commit 1326ced has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 16, 2023
@bors
Copy link
Collaborator

bors commented Mar 16, 2023

⌛ Testing commit 1326ced with merge e4f0ab8a18bef339b1536644bb3b7ab13ddc07da...

@bors
Copy link
Collaborator

bors commented Mar 16, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 16, 2023
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-msvc-1 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
test [codegen] tests\codegen\issues\issue-56267-2.rs ... ok
test [codegen] tests\codegen\issues\issue-59352.rs ... ok
test [codegen] tests\codegen\issues\issue-56267.rs ... ok
test [codegen] tests\codegen\issues\issue-56927.rs ... ok
2023-03-16T07:34:16.004521Z ERROR compiletest::runtest: fatal error, panic: "aux-build `D:\\a\\rust\\rust\\tests\\codegen\\issues\\auxiliary\\static_dllimport_aux.rs` source not found"
test [codegen] tests\codegen\issues\issue-73827-bounds-check-index-in-subexpr.rs ... ok
test [codegen] tests\codegen\issues\issue-73338-effecient-cmp.rs ... ok
test [codegen] tests\codegen\issues\issue-73031.rs ... ok
test [codegen] tests\codegen\issues\issue-75525-bounds-checks.rs ... ok
---
failures:

---- [codegen] tests\codegen\issues\issue-81408-dllimport-thinlto-windows.rs stdout ----

error: aux-build `D:\a\rust\rust\tests\codegen\issues\auxiliary\static_dllimport_aux.rs` source not found
thread '[codegen] tests\codegen\issues\issue-81408-dllimport-thinlto-windows.rs' panicked at 'fatal error', src\tools\compiletest\src\runtest.rs:2252:9


failures:
    [codegen] tests\codegen\issues\issue-81408-dllimport-thinlto-windows.rs
    [codegen] tests\codegen\issues\issue-81408-dllimport-thinlto-windows.rs

test result: FAILED. 319 passed; 1 failed; 96 ignored; 0 measured; 0 filtered out; finished in 4.40s

Some tests failed in compiletest suite=codegen mode=codegen host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Build completed unsuccessfully in 0:26:18
make: *** [Makefile:68: ci-subset-1] Error 1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-release Relevant to the release subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.