Skip to content

Rollup of 12 pull requests - #166522

Closed
JonathanBrouwer wants to merge 31 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-iNJYHbo
Closed

JonathanBrouwer wants to merge 31 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-iNJYHbo

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Warning

This rollup conflicts with pending auto build #166507 and may need to be recreated if the pending build succeeds.

r? @ghost

Create a similar rollup

jieyouxu and others added 30 commits November 11, 2026 11:25
While ZSTs themselves are ignored, the paddings are not, so we use
an indirection pointer to fill the argument list when a padding is
needed.
Because a `FnParam::Ident` now always comes from function args const generics, we can change it to `FnParam::GenericParam`
…ulfillment, r=lcnr

Skip fulfillment when normalization produces no obligations

In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case.

r? lcnr
Lower to `hir::Param`s for required trait functions

The same as rust-lang#166142, but for required trait functions.
Also includes a bunch of cleanup.

I recommend reviewing commit by commit, every commit passes tests.
Earlier commits leave TODOs that are fixed by later commits

Part of rust-lang#164357
r? Kivooeo
…aumeGomez

rustdoc: Use source snippet to render `include_*` literals

Related: rust-lang#65818

A substantial portion of the slowness from `include_bytes!` on large blobs comes from escaping these blobs and encoding that rendered string into the rlib. For `include` macros, rendering a source snippet is much more performant and IMO clearer.

r? rustdoc (as this is only consumed by rustdoc)
callconv: mips64: match gcc for "alignment" of 16-byte-aligned ZSTs

While ZSTs themselves are ignored, the paddings are not, so we use an indirection pointer to fill the argument list when padding is needed.

Fix validated with abi-cafe.

r? folkertdev
…uillaumeGomez

Integrate doc comment target checking on parameters & where bounds

Follow-up of rust-lang#166093

I recommend reviewing commit by commit, every commit passes tests.
The line-diff is quite negative when you ignore uitests :D

r? @GuillaumeGomez
cc @mejrs
…ern, r=Nadrieril

Fix float zero patterns after a failed guard

Fixes rust-lang#165311

After rust-lang#122459, match lowering compares float constants by bits, so `-0.0` is not equal to `0.0`.
This PR compares them as floats, like range patterns already do.
…e, r=BoxyUwU

Sync tier 3 addition policy with Forge

We forgot to sync this back to the target tier policy when we updated the Forge policy.

> New targets should be assigned to the compiler team co-leads to check for any licensing concerns and to ensure that any demands on the project infrastructure are considered and checked with relevant teams.

Ref: https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#targets

r? compiler_leads
… r=hanna-kruppe

Revert "stabilize {Arc,Rc}::is_unique"

Supercedes rust-lang#165962.
Reopens rust-lang#138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)
… r=Urgau

triagebot: Send "in progress" message when nomination is in progress

Previously it would trigger the "nomination has been removed" message which could be confusing.
This makes the message more clear, at the cost of a little duplication, but that duplication seems to be the norm anyways in the triagebot config :p

This PR does it only for the compiler team, I'm happy to also make this change to other teams

r? Urgau
… r=hanna-kruppe

rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout

Updated in llvm/llvm-project#245115

@rustbot label: +llvm-main
Update the Platform Support page for the *-espidf targets

This PR is addressing rust-lang#166446 and thus fixing a long standing problem where the `*-espidf` targets were severely under-documented in the rust repo.

NOTE: Bits and pieces of the new documentation were worded by an LLM or reviewed and re-worded by an LLM.
Needless to say, I have of course extensively reviewed the latest page contents myself too.
…ble, r=Urgau

[rustdoc] Fix rustc_private items being marked as unstable in the search results

Follow-up of rust-lang#153746.

Before:

<img width="633" height="325" alt="Screenshot From 2026-11-24 16-12-07" src="https://github.com/user-attachments/assets/702def0d-f84d-49d3-b3b7-3d4d5a90162e" />

After:

<img width="633" height="325" alt="Screenshot From 2026-11-24 16-11-57" src="https://github.com/user-attachments/assets/4d1c0004-8787-4aae-8cae-9da2c0fb0281" />

The fix was to also check if the `unstable` stability was coming from `rustc_private` (which we already did when rendering an item).

cc @lolbinarycat
r? @Urgau
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 24, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rc Area: `Rc` and `Arc` A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 24, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,dist-various-2,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3,test-aarch64-msvc-2

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 83853e9 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 24, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup of 12 pull requests


try-job: dist-various-1
try-job: dist-various-2
try-job: test-various
try-job: test-x86_64-gnu-aux
try-job: test-x86_64-msvc-1
try-job: test-aarch64-apple-1
try-job: test-aarch64-apple-2
try-job: test-x86_64-mingw-1
try-job: test-i686-msvc
try-job: test-armhf-gnu
try-job: test-x86_64-gnu-llvm-22-3
try-job: test-aarch64-msvc-2
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 24, 2026
@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

This pull request was unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 24, 2026
@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 24, 2026
@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 8e2667a failed: CI. Failed jobs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rc Area: `Rc` and `Arc` A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. 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.