Skip to content

Rollup of 15 pull requests - #166532

Merged
rust-bors[bot] merged 38 commits into
rust-lang:mainfrom
clarfonthey:rollup-NoJldmJ
Nov 25, 2026
Merged

rust-bors[bot] merged 38 commits into
rust-lang:mainfrom
clarfonthey:rollup-NoJldmJ

Conversation

@clarfonthey

Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

jieyouxu and others added 30 commits November 11, 2026 11:25
Because a `FnParam::Ident` now always comes from function args const generics, we can change it to `FnParam::GenericParam`
Update documentation for Termination to clarify that report() has the side
effect of outputting Err values to stderr.
From now on let's call _1 "courotine struct local."

Signed-off-by: Xiangfei Ding <dingxiangfei2009@protonmail.ch>
…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)
…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
Correctly specify that the head cannot be >= capacity

I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.
@rustbot rustbot added 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
@clarfonthey

Copy link
Copy Markdown
Contributor 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 5e52940 has been approved by clarfonthey

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 15 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

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 869d7c6 (869d7c6e73385e2bfad7214c7fbc7b5f48f5df94)
Base parent: 739adec (739adecd444342128b4ef32cbbd8352856cb1651)

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 25, 2026
@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: clarfonthey
Duration: 3h 21m 55s
Pushing 96be22c to main...

@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 739adec (parent) -> 96be22c (this PR)

Test differences

Show 22 test diffs

Stage 1

  • [rustdoc-js] tests/rustdoc-js/force-unstable-if-unmarked.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/match-float-zero-guard.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/match/match-float-zero-guard.rs: [missing] -> pass (J3)

Stage 2

  • [ui] tests/ui/match/match-float-zero-guard.rs: [missing] -> pass (J0)
  • [rustdoc-js] tests/rustdoc-js/force-unstable-if-unmarked.rs: [missing] -> pass (J4)

Additionally, 17 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 96be22caa35b5c36c3a6d00571915255cd32ffa5 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. test-x86_64-msvc-ext1: 1h 21m -> 2h 19m (+70.8%)
  2. dist-x86_64-msvc-alt: 1h 44m -> 2h 55m (+68.4%)
  3. test-x86_64-gnu-aux: 1h 53m -> 3h 7m (+66.2%)
  4. test-x86_64-gnu: 1h 45m -> 2h 32m (+45.3%)
  5. test-x86_64-gnu-miri: 1h 29m -> 50m 47s (-43.5%)
  6. test-pr-check-2: 38m 15s -> 21m 54s (-42.7%)
  7. dist-x86_64-llvm-mingw: 2h 4m -> 1h 14m (-40.2%)
  8. test-i686-gnu-nopt-2: 2h 19m -> 1h 23m (-40.1%)
  9. test-x86_64-gnu-gcc: 58m 25s -> 1h 21m (+39.0%)
  10. optional-test-x86_64-gnu-autodiff: 1h 2m -> 39m 7s (-37.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#165847 Skip fulfillment when normalization produces no obligations 6d1b8a24d92ffcd1137b5ccb8691473fbc872d8a
(link)
#166147 Lower to hir::Params for required trait functions 310a937c2cfff4f3c749d08e597975608fe665b2
(link)
#166414 rustdoc: Use source snippet to render include_* literals 8c8d1c444361fb9a6d6a45bc711495bee09a7c55
(link)
#166497 Integrate doc comment target checking on parameters & where… e1b32a9dcfa37943a44526b0274a15254d72756b
(link)
#166500 Fix float zero patterns after a failed guard 71f4149549aa524b96af7b8d9683fb17d8774df1
(link)
#165791 Sync tier 3 addition policy with Forge 679b0bd935081024e3cf60820114491f1438ed93
(link)
#166417 Correctly specify that the head cannot be >= capacity f1eefa08e22078fccbac6c2c5756cab69c899d72
(link)
#166429 1.100.1 relnotes 4eca29d5e9752e1202b190cbfabd698a80f4248f
(link)
#166448 triagebot: Send "in progress" message when nomination is in… 7428dc9d30638036b07a9711af7a09dd474ba825
(link)
#166494 rustc_target: catch up with LLVM 24 movement on ppc64 openb… 68a06d4e01c5f34f260d2c8a7b335db0aa95ff84
(link)
#166498 Update the Platform Support page for the *-espidf targets 0fcc1a9873ce35c319278366034c0e70f21dd8a4
(link)
#166502 [rustdoc] Fix rustc_private items being marked as unstable … e57ce18957d876f7d2e9b9dcef442e764bbbd820
(link)
#166511 Documentation: clarify Termination::report doc 5dee6cbdb5480b79ea37d5c1d5c00ec37adf5b23
(link)
#166514 coroutine: unify the word choice 3fef81c4b158caa0692082616743f6573c9f9e41
(link)
#166521 Not-so-pointless change to hashbrown subtree 36f8b4d3c150f423815cc081f25d0ead23bb26a5
(link)

parent commit: 739adecd44

In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: @rust-timer triage $SHA $SHA $SHA..., or run @rust-timer triage all to benchmark all rollup members.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (96be22c): comparison URL.

Overall result: ❌✅ regressions and improvements - please read:

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.5% [1.5%, 1.5%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-10.8% [-76.8%, -0.2%] 14
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (secondary -18.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
6.9% [6.9%, 6.9%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-26.6% [-38.5%, -5.7%] 3
All ❌✅ (primary) - - 0

Cycles

Results (primary 1.8%, secondary -12.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.8% [1.8%, 1.8%] 1
Regressions ❌
(secondary)
3.3% [2.8%, 3.8%] 7
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-66.9% [-70.1%, -63.6%] 2
All ❌✅ (primary) 1.8% [1.8%, 1.8%] 1

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 488.117s -> 463.314s (-5.08%)
Artifact size: 405.64 MiB -> 405.60 MiB (-0.01%)

@rustbot rustbot added the perf-regression Performance regression. label Nov 25, 2026
@Zalathar

Copy link
Copy Markdown
Member

@rust-timer

rust-timer commented Nov 25, 2026 •

Copy link
Copy Markdown
Running triage with 7 benchmarks

Triage only executes the benchmarks on rollup members, that were changed significantly on the rollup.
For this rollup, these benchmarks are:

  • bitmaps-3.2.1-new-solver
  • html5ever-0.31.0-new-solver
  • include-blob
  • nalgebra-0.33.0-new-solver
  • next-solver-stress
  • serde-1.0.219-new-solver
  • syn-2.0.101-new-solver

#165847 6d1b8a2 Skip fulfillment when normalization produces no obligations

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.5% [1.5%, 1.5%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.3% [-0.8%, -0.2%] 11
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

Results (secondary 2.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.7% [2.4%, 3.1%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

This perf run didn't have relevant results for this metric.


#166147 310a937 Lower to hir::Params for required trait functions

Queued 310a937 with parent 739adec, future comparison URL.
There are currently 15 preceding artifacts in the queue.
It will probably take at least ~5.1 hours until the benchmark run finishes.


#166414 8c8d1c4 rustdoc: Use source snippet to render include_* literals

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.6% [0.6%, 0.6%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-73.8% [-76.6%, -71.0%] 2
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (secondary -37.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-37.2% [-38.7%, -35.7%] 2
All ❌✅ (primary) - - 0

Cycles

Results (secondary -44.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.5% [1.5%, 1.5%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-66.7% [-68.9%, -64.5%] 2
All ❌✅ (primary) - - 0

Binary size

This perf run didn't have relevant results for this metric.


#166497 e1b32a9 Integrate doc comment target checking on parameters & where bounds

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.6% [0.6%, 0.6%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.


#166500 71f4149 Fix float zero patterns after a failed guard

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.6% [0.6%, 0.6%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.


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

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.6% [0.6%, 0.6%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.

@Zalathar

Copy link
Copy Markdown
Member

The next-solver-stress regressions appear to be a combination of noise (shared by all PRs), and a real-looking regression in #165847, which is also responsible for the improvements in other new-solver benchmarks.

I believe the next-solver-stress benchmark is new enough that it doesn't show up in prior perf runs for that PR.

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) 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-process Area: `std::process` (note: `std::env` is A-env) A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature A-vecdeque Area: `std::collections::VecDeque` merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. rollup A PR which is a rollup 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-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. 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.