Skip to content

Rollup of 12 pull requests #145003

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

Merged
merged 26 commits into from
Aug 6, 2025
Merged

Rollup of 12 pull requests #145003

merged 26 commits into from
Aug 6, 2025

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Aug 6, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

tiif and others added 26 commits July 30, 2025 09:30
Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
Currently the Args new function is scope constrained to pub(super) but this stops me from being able to construct Args structs in unit tests.
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
The current `rust-version = "1.63"` was inherited from rayon, but it
doesn't make sense to limit this in the compiler workspace. Having any
setting at all has effects on tools like `cargo info` that try to infer
the MSRV when the workspace itself doesn't specify it. Since we are the
compiler, our only MSRV is whatever bootstrapping requires.
libs-api has agreed to rename these functions to
`isolate_highest_one`/`isolate_lowest_one`
This fixes a few intrinsic docs that had a link directly to itself
instead of to the correct function in the `mem` module.
This makes it possible to bless the snapshot files used by `diff()` in
newly-created run-make tests, without having to create the files manually
beforehand.
…=jieyouxu

Rehome 33 `tests/ui/issues/` tests to other subdirectories under `tests/ui/`

rust-lang#143902 divided into smaller, easier to review chunks.

Part of rust-lang#133895

Methodology:

1. Refer to the previously written `tests/ui/SUMMARY.md`
2. Find an appropriate category for the test, using the original issue thread and the test contents.
3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers)
4. Rename the tests to make their purpose clearer

Inspired by the methodology that ``@Kivooeo`` was using.

r? ``@jieyouxu``
…oxyUwU

Add documentation for unstable_feature_bound

There is more detail and explanation in https://hackmd.io/``````@tiif/Byd3mq7Ige``````

Original PR that implemented this: rust-lang#140399

r? ``````@BoxyUwU`````` to nominate for types team discussion
Change visibility of Args new function

Currently the Args new function is constrained to pub(super) but this stops me from being able to construct Args structs in unit tests.

This pull request is to change this to pub.
… r=fee1-dead

Add regression tests for seemingly fixed issues

Closes rust-lang#104314
Closes rust-lang#125866
…=fmease

[rustdoc] Fix wrong `i` tooltip icon

Current wrong display:

<img width="334" height="37" alt="Screenshot From 2025-08-04 17-42-38" src="https://github.com/user-attachments/assets/57046475-6162-487f-998f-ebb2434c111d" />

With the fix:

<img width="334" height="37" alt="image" src="https://github.com/user-attachments/assets/e761a103-dc39-4e30-8c8e-cfc7fab52fde" />

r? ``@fmease``
…ctives-hint, r=clubby789

compiletest: add hint for when a ui test produces no errors
…iper

Correct the use of `must_use` on btree::IterMut

I'm working on stricter target checking for attributes and found this one
Drop `rust-version` from `rustc_thread_pool`

The current `rust-version = "1.63"` was inherited from rayon, but it
doesn't make sense to limit this in the compiler workspace. Having any
setting at all has effects on tools like `cargo info` that try to infer
the MSRV when the workspace itself doesn't specify it. Since we are the
compiler, our only MSRV is whatever bootstrapping requires.
…eLapkin

Autolabel PRs that change explicit tail call tests as `F-explicit_tail_calls`

mrrrow~
run-make: Allow blessing snapshot files that don't exist yet

This makes it possible to bless the snapshot files used by `diff()` in newly-created run-make tests, without having to create the files manually beforehand.

r? jieyouxu
…htriplett

num: Rename `isolate_most_least_significant_one` functions

Tracking issue - rust-lang#136909

libs-api has agreed to rename these unstable functions to `isolate_highest_one`/`isolate_lowest_one`
rust-lang#136909 (comment)

`isolate_most_significant_one` -> `isolate_highest_one`
`isolate_least_significant_one` -> `isolate_lowest_one`
Fix some doc links for intrinsics

This fixes a few intrinsic docs that had a link directly to itself instead of to the correct function in the `mem` module.
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide labels Aug 6, 2025
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc 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-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. rollup A PR which is a rollup labels Aug 6, 2025
@Kobzol
Copy link
Member Author

Kobzol commented Aug 6, 2025

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Aug 6, 2025

📌 Commit 66f0f27 has been approved by Kobzol

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 Aug 6, 2025
@samueltardieu
Copy link
Member

Since we potentially have time before it hits the top of the queue, I'd like to check this which has bitten several of us recently with an unknown origin, on rollup which included some PR on this list:

@bors2 try jobs=test-various

@rust-bors
Copy link

rust-bors bot commented Aug 6, 2025

⌛ Trying commit 66f0f27 with merge e86f8b1

To cancel the try build, run the command @bors try cancel.

rust-bors bot added a commit that referenced this pull request Aug 6, 2025
Rollup of 12 pull requests

try-job: test-various
@Zalathar
Copy link
Contributor

Zalathar commented Aug 6, 2025

Also watch out for #144995 (comment), which gives so little information that I have not been able to attribute it to any particular PR.

@samueltardieu
Copy link
Member

Also watch out for #144995 (comment), which gives so little information that I have not been able to attribute it to any particular PR.

Yes, I had tried to find out what went wrong too and failed.

@rust-bors
Copy link

rust-bors bot commented Aug 6, 2025

☀️ Try build successful (CI)
Build commit: e86f8b1 (e86f8b1fb973f52f258febb819aa912bec9089fa, parent: dc0bae1db725fbba8524f195f74f680995fd549e)

@bors
Copy link
Collaborator

bors commented Aug 6, 2025

⌛ Testing commit 66f0f27 with merge 29cdc6a...

@bors
Copy link
Collaborator

bors commented Aug 6, 2025

☀️ Test successful - checks-actions
Approved by: Kobzol
Pushing 29cdc6a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 6, 2025
@bors bors merged commit 29cdc6a into rust-lang:master Aug 6, 2025
12 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Aug 6, 2025
Copy link
Contributor

github-actions bot commented Aug 6, 2025

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 8fb40f7 (parent) -> 29cdc6a (this PR)

Test differences

Show 284 test diffs

Stage 1

  • nonzero::test_nonzero_isolate_least_significant_one: pass -> [missing] (J0)
  • num::i128::test_isolate_highest_one: [missing] -> pass (J0)
  • num::i128::test_isolate_least_significant_one: pass -> [missing] (J0)
  • num::i128::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::i16::test_isolate_highest_one: [missing] -> pass (J0)
  • num::i32::test_isolate_highest_one: [missing] -> pass (J0)
  • num::i32::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::i32::test_isolate_most_significant_one: pass -> [missing] (J0)
  • num::i64::test_isolate_highest_one: [missing] -> pass (J0)
  • num::i64::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::i8::test_isolate_least_significant_one: pass -> [missing] (J0)
  • num::i8::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::i8::test_isolate_most_significant_one: pass -> [missing] (J0)
  • num::u128::test_isolate_highest_one: [missing] -> pass (J0)
  • num::u128::test_isolate_least_significant_one: pass -> [missing] (J0)
  • num::u128::test_isolate_most_significant_one: pass -> [missing] (J0)
  • num::u16::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::u32::test_isolate_highest_one: [missing] -> pass (J0)
  • num::u32::test_isolate_least_significant_one: pass -> [missing] (J0)
  • num::u32::test_isolate_most_significant_one: pass -> [missing] (J0)
  • num::u64::test_isolate_highest_one: [missing] -> pass (J0)
  • num::u64::test_isolate_least_significant_one: pass -> [missing] (J0)
  • num::u64::test_isolate_lowest_one: [missing] -> pass (J0)
  • num::u64::test_isolate_most_significant_one: pass -> [missing] (J0)
  • num::u8::test_isolate_lowest_one: [missing] -> pass (J0)
  • [ui] tests/ui/abi/extern-c-two-doubles-x86_64-5754.rs: [missing] -> pass (J1)
  • [ui] tests/ui/array-slice-vec/fixed-size-arrays-zero-size-types-8898.rs: [missing] -> pass (J1)
  • [ui] tests/ui/borrowck/mismatched-pointer-type-in-self-7061.rs: [missing] -> pass (J1)
  • [ui] tests/ui/consts/const-pattern-rewrite-error-32086.rs: [missing] -> pass (J1)
  • [ui] tests/ui/cross-crate/cross-crate-map-usage-5521.rs: [missing] -> pass (J1)
  • [ui] tests/ui/issues/issue-13665.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-17385.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-19100.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-20413.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-21946.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-22684.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-2281-part1.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-23966.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-24352.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-32797.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-36075.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-47638.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-50585.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-51632-try-desugar-incompatible-types.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-5521.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-5754.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-72839-error-overflow.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-8898.rs: pass -> [missing] (J1)
  • [ui] tests/ui/issues/issue-9188.rs: pass -> [missing] (J1)
  • [ui] tests/ui/iterators/fold-iterator-error-23966.rs: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/lifetime-inference-miss-15735.rs: [missing] -> pass (J1)
  • [ui] tests/ui/match/unreachable-pattern-if-variant-not-imported-19100.rs: [missing] -> pass (J1)
  • [ui] tests/ui/mismatched_types/float-integer-subtraction-error-24352.rs: [missing] -> pass (J1)
  • [ui] tests/ui/mismatched_types/for-loop-in-vec-type-mismatchrs-50585.rs: [missing] -> pass (J1)
  • [ui] tests/ui/mismatched_types/starts-with-stringify-type-mismatch-48364.rs: [missing] -> pass (J1)
  • [ui] tests/ui/modules/circular-module-imports-32797.rs: [missing] -> pass (J1)
  • [ui] tests/ui/numbers-arithmetic/f32-literal-rounding-32805.rs: [missing] -> pass (J1)
  • [ui] tests/ui/privacy/private-field-access-violation-3763.rs: [missing] -> pass (J1)
  • [ui] tests/ui/symbol-names/same-symbol-name-for-inner-statics-9188.rs: [missing] -> pass (J1)
  • [ui] tests/ui/trait-bounds/trait-selection-overflow-prevention-72839.rs: [missing] -> pass (J1)
  • [ui] tests/ui/traits/const-traits/const-closure-issue-125866-pass.rs: [missing] -> pass (J1)
  • [ui] tests/ui/traits/trait-impl-overflow-with-where-clause-20413.rs: [missing] -> pass (J1)
  • [ui] tests/ui/try-trait/incompatible-types-with-question-mark-51632.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/array-slice-vec/fixed-size-arrays-zero-size-types-8898.rs: [missing] -> pass (J2)
  • [ui] tests/ui/borrowck/mismatched-pointer-type-in-self-7061.rs: [missing] -> pass (J2)
  • [ui] tests/ui/borrowck/region-checker-map-closure-13665.rs: [missing] -> pass (J2)
  • [ui] tests/ui/consts/const-pattern-rewrite-error-32086.rs: [missing] -> pass (J2)
  • [ui] tests/ui/did_you_mean/typo-suggestion-improvement-46332.rs: [missing] -> pass (J2)
  • [ui] tests/ui/dyn-compatibility/dyn-compatible-trait-implementation-20939.rs: [missing] -> pass (J2)
  • [ui] tests/ui/generics/unused-type-parameter-regression-36075.rs: [missing] -> pass (J2)
  • [ui] tests/ui/issues/issue-15735.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-16151.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-20413.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-21946.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-32797.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-3763.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-43483.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-51632-try-desugar-incompatible-types.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-5521.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-5754.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-7061.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-72839-error-overflow.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-8898.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-9188.rs: pass -> [missing] (J2)
  • [ui] tests/ui/iterators/fold-iterator-error-23966.rs: [missing] -> pass (J2)
  • [ui] tests/ui/lifetimes/lifetime-inference-miss-15735.rs: [missing] -> pass (J2)
  • [ui] tests/ui/match/unreachable-pattern-if-variant-not-imported-19100.rs: [missing] -> pass (J2)
  • [ui] tests/ui/mismatched_types/float-integer-subtraction-error-24352.rs: [missing] -> pass (J2)
  • [ui] tests/ui/mismatched_types/starts-with-stringify-type-mismatch-48364.rs: [missing] -> pass (J2)
  • [ui] tests/ui/modules/circular-module-imports-32797.rs: [missing] -> pass (J2)
  • [ui] tests/ui/numbers-arithmetic/f32-literal-rounding-32805.rs: [missing] -> pass (J2)
  • [ui] tests/ui/privacy/private-field-access-violation-3763.rs: [missing] -> pass (J2)
  • [ui] tests/ui/resolve/cannot-find-value-in-scope-22811.rs: [missing] -> pass (J2)
  • [ui] tests/ui/structs/tuple-struct-field-naming-47073.rs: [missing] -> pass (J2)
  • [ui] tests/ui/symbol-names/same-symbol-name-for-inner-statics-9188.rs: [missing] -> pass (J2)
  • [ui] tests/ui/trait-bounds/trait-selection-overflow-prevention-72839.rs: [missing] -> pass (J2)
  • [ui] tests/ui/trait-objects/trait-object-lifetime-conversion-47638.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/const-traits/const-closure-issue-125866-error.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/const-traits/const-closure-issue-125866-pass.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/const-traits/const-fn-trait-bound-issue-104314.rs: [missing] -> pass (J2)

(and 86 additional test diffs)

Additionally, 98 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 29cdc6a109ee98a382f974bf89d3971b4385399c --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. x86_64-apple-2: 4977.4s -> 6978.1s (40.2%)
  2. dist-aarch64-apple: 7723.5s -> 5151.5s (-33.3%)
  3. dist-apple-various: 5491.3s -> 3869.4s (-29.5%)
  4. armhf-gnu: 5599.3s -> 5017.1s (-10.4%)
  5. dist-powerpc-linux: 4981.8s -> 5490.1s (10.2%)
  6. dist-x86_64-netbsd: 4709.0s -> 5177.3s (9.9%)
  7. x86_64-mingw-2: 8386.3s -> 7613.7s (-9.2%)
  8. dist-arm-linux-gnueabi: 4764.8s -> 5195.1s (9.0%)
  9. aarch64-msvc-1: 6452.6s -> 7024.1s (8.9%)
  10. aarch64-gnu-llvm-19-2: 2482.6s -> 2263.6s (-8.8%)
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

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#144552 Rehome 33 tests/ui/issues/ tests to other subdirectories … 94071e2e71ba3b1c72964cf441ea3a74537d4c16 (link)
#144676 Add documentation for unstable_feature_bound c68b041eacde2e5fc774bf4457fbf2e25d36e158 (link)
#144836 Change visibility of Args new function 9c21d66ae4f75dde4c3910eafcdf905838b6b41c (link)
#144910 Add regression tests for seemingly fixed issues 77b4693661e3b78f2ab38729c5b12950cb22bc1e (link)
#144913 [rustdoc] Fix wrong i tooltip icon 1ac69dbea3ee8a80d07f32289bff87dac5280002 (link)
#144924 compiletest: add hint for when a ui test produces no errors 4e011a58cb4110b70d03d4389c97c14d59eb4763 (link)
#144926 Correct the use of must_use on btree::IterMut f2b9d4cb5cc9d4d8453832f8ded7728c712239f1 (link)
#144928 Drop rust-version from rustc_thread_pool 12ef5756086eaa46b03abf117efb8dba22a95361 (link)
#144945 Autolabel PRs that change explicit tail call tests as `F-ex… e96be4998b3736788ef3cc40bca2d14674d96a68 (link)
#144954 run-make: Allow blessing snapshot files that don't exist yet a4ae6584690e4b4adddaf3ab9ef99fc282dc5ccd (link)
#144971 num: Rename isolate_most_least_significant_one functions d12044bd42a6b0dda3483b2a3dbb618c2d0f574f (link)
#144978 Fix some doc links for intrinsics 7ce9b756b0dc2c1b49efcaa9a1292412fa8b36ec (link)

previous master: 8fb40f798a

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

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (29cdc6a): comparison URL.

Overall result: ❌✅ regressions and improvements - 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.2%, 0.2%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.6% [-0.6%, -0.5%] 3
All ❌✅ (primary) 0.2% [0.2%, 0.2%] 1

Max RSS (memory usage)

Results (primary 6.4%)

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

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

Cycles

Results (primary 2.6%)

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

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

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 464.179s -> 464.98s (0.17%)
Artifact size: 377.38 MiB -> 377.39 MiB (0.00%)

@Kobzol Kobzol deleted the rollup-kgb216b branch August 6, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiletest Area: The compiletest test runner A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc 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-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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.