Skip to content

Conversation

@Zalathar
Copy link
Member

@Zalathar Zalathar commented Nov 27, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

jdonszelmann and others added 18 commits November 24, 2025 15:04
Relocate issues/issue-51154.rs to closures/box-generic-closure.rs

Relocate issues/issue-51515.rs to
borrowck/assignment-to-immutable-ref.rs

Relocate issues/issue-53348.rs to mismatched_types/deref-string-assign.rs

Relocate issues/issue-52717.rs to
pattern/match-enum-struct-variant-field-missing.rs

Relocate issues/issue-53300.rs to
type/cannot-find-wrapper-with-impl-trait.rs
…nieu

float::clamp: make treatment of signed zeros unspecified

Fixes rust-lang#83984 by explicitly documenting that we do not specify the treatment of signed zeros in `clamp`. `@rust-lang/libs-api` Is this what you'd like to see?

Cc `@tgross35` `@thomcc`
…on, r=Mark-Simulacrum

implement `Iterator::{exactly_one, collect_array}`

As per rust-lang#149266
…ulacrum

Suggest _bytes versions of endian-converting methods

As pointed out [in this article](https://purplesyringa.moe/blog/ntoh-hton-is-a-bad-api/), the `int.to_be()`/`int.to_le()` functions are technically returning a wrong type, because endian-specific representations of integers and Rust's always-native-endian integers are different things.

I wanted to make the docs state more directly that byte swapping will result in the type having a "wrong" value, but I wasn't sure whether to delve into the special case of palindrome-like values (`0x12343412`) not changing.

I've updated the docs to suggest `{to,from}_[lb]e_bytes()` instead. These methods use `[u8; _]` for endian-specific representations, which is a different type than the native-endian `u16`/`u32`/`u64`, and this is a type-safety improvement.
…eGomez

fix rustdoc search says “Consider searching for "null" instead.” rust-lang#149324

fix rust-lang#149324

Now builds the “generic parameter” correction banner from discrete sentence fragments and appends the “Consider searching …” clause only when query.proposeCorrectionTo is non-null, so the UI no longer renders null as the suggested type.

Adds a PARSED section with two queries: one typo (Result<SomeTraiz>) that still produces a concrete suggestion and one fully unknown type (Result<NoSuchTrait>) that leaves proposeCorrectionTo null.
Tidying up UI tests [3/N]

> [!NOTE]
> Intermediate commits are intended to help review, but will be squashed prior to merge.

part of rust-lang#133895

Relocate 5 tests from tests/ui/issues
…3557, r=Mark-Simulacrum

Document that `build.description` affects symbol mangling and crate IDs

Addresses issue rust-lang#103557

Adds warning to `bootstrap.example.toml` explaining that changing build.description affects crate IDs and symbol name mangling, which makes compiled artifacts incompatible across different values.

As ```@Mark-Simulacrum``` points out, "if you're building with different settings, we really can't guarantee compatibility in any nice way." This documentation attempts to make that clear. This is my first contribution here, so any feedback would be greatly appreciated!
…Simulacrum

Enable CI download for windows-gnullvm

This works now!
@rustbot rustbot added A-rustdoc-search Area: Rustdoc's search feature S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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-rust-analyzer Relevant to the rust-analyzer 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. rollup A PR which is a rollup labels Nov 27, 2025
@Zalathar
Copy link
Member Author

Rollup of everything not in #149368.

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Nov 27, 2025

📌 Commit 7b50aa6 has been approved by Zalathar

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 Nov 27, 2025
@bors
Copy link
Collaborator

bors commented Nov 27, 2025

⌛ Testing commit 7b50aa6 with merge 7b9905e...

@bors
Copy link
Collaborator

bors commented Nov 27, 2025

☀️ Test successful - checks-actions
Approved by: Zalathar
Pushing 7b9905e to main...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 27, 2025
@bors bors merged commit 7b9905e into rust-lang:main Nov 27, 2025
12 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 27, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#149238 float::clamp: make treatment of signed zeros unspecified a3493906853cc41c5d6f8ba7466794c7d704dc46 (link)
#149270 implement Iterator::{exactly_one, collect_array} 84c0594132ba1618e04e8b9109f476df6688d776 (link)
#149295 Suggest _bytes versions of endian-converting methods 9b75bd7e48b8c0d784fa6cda5ff01f8b9de1ce7f (link)
#149332 fix rustdoc search says “Consider searching for "null" in… 58708d5d90e9f5121e143e23277adbaa29336b2b (link)
#149349 Fix typo in comment. 09ab8bd322df316b3c0a57d9dd0af333fa2b7ccc (link)
#149353 Tidying up UI tests [3/N] 5d9eecfd460397cd072ff7f65b7e7714faa1f306 (link)
#149355 Document that build.description affects symbol mangling a… 88bb99150e829f0cbc45cd56c4889dfa5e24f1a7 (link)
#149360 Enable CI download for windows-gnullvm 517a6435b3dd9a75625fc513bf203c788597f20c (link)

previous master: a4175159da

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@github-actions
Copy link
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 a417515 (parent) -> 7b9905e (this PR)

Test differences

Show 3432 test diffs

Stage 1

  • [ui] tests/ui/borrowck/assignment-to-immutable-ref.rs: [missing] -> pass (J1)
  • [ui] tests/ui/closures/box-generic-closure.rs: [missing] -> pass (J1)
  • [ui] tests/ui/issues/issue-51154.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-51515.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-52717.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-53300.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-53348.rs: pass -> [missing] (J1)
  • [ui] tests/ui/mismatched_types/assign-deref-string-to-string.rs: [missing] -> pass (J1)
  • [ui] tests/ui/pattern/match-enum-struct-variant-field-missing.rs: [missing] -> pass (J1)
  • [ui] tests/ui/type/cannot-find-wrapper-with-impl-trait.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/borrowck/assignment-to-immutable-ref.rs: [missing] -> pass (J0)
  • [ui] tests/ui/closures/box-generic-closure.rs: [missing] -> pass (J0)
  • [ui] tests/ui/issues/issue-51154.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-51515.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-52717.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-53300.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-53348.rs: pass -> [missing] (J0)
  • [ui] tests/ui/mismatched_types/assign-deref-string-to-string.rs: [missing] -> pass (J0)
  • [ui] tests/ui/pattern/match-enum-struct-variant-field-missing.rs: [missing] -> pass (J0)
  • [ui] tests/ui/type/cannot-find-wrapper-with-impl-trait.rs: [missing] -> pass (J0)

Additionally, 3412 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 7b9905edb4df3aeaabd0d6cd0d4c09b183d7d965 --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. dist-x86_64-apple: 6748.5s -> 9564.5s (+41.7%)
  2. dist-apple-various: 3925.6s -> 3384.3s (-13.8%)
  3. aarch64-gnu-llvm-20-2: 2507.4s -> 2181.2s (-13.0%)
  4. dist-aarch64-apple: 6603.1s -> 7384.5s (+11.8%)
  5. i686-gnu-2: 6223.9s -> 5528.3s (-11.2%)
  6. aarch64-msvc-2: 4803.5s -> 5286.9s (+10.1%)
  7. x86_64-rust-for-linux: 3045.7s -> 2742.4s (-10.0%)
  8. x86_64-gnu-gcc: 3399.2s -> 3063.0s (-9.9%)
  9. i686-gnu-nopt-1: 8254.3s -> 7438.0s (-9.9%)
  10. i686-gnu-1: 8291.7s -> 7490.7s (-9.7%)
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-timer
Copy link
Collaborator

Finished benchmarking commit (7b9905e): comparison URL.

Overall result: ❌ regressions - no action needed

@rustbot label: -perf-regression

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.2% [0.1%, 0.2%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.2% [0.1%, 0.2%] 2

Max RSS (memory usage)

Results (secondary -2.9%)

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)
-2.9% [-3.7%, -2.1%] 2
All ❌✅ (primary) - - 0

Cycles

Results (primary 1.9%)

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

mean range count
Regressions ❌
(primary)
1.9% [1.7%, 2.0%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.9% [1.7%, 2.0%] 2

Binary size

Results (primary 0.1%, secondary 0.1%)

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

mean range count
Regressions ❌
(primary)
0.1% [0.1%, 0.1%] 4
Regressions ❌
(secondary)
0.1% [0.1%, 0.1%] 34
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.1% [0.1%, 0.1%] 4

Bootstrap: 472.621s -> 470.06s (-0.54%)
Artifact size: 386.88 MiB -> 386.96 MiB (0.02%)

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

Labels

A-rustdoc-search Area: Rustdoc's search feature merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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-rust-analyzer Relevant to the rust-analyzer 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.