Skip to content

Rollup of 7 pull requests - #165678

Merged
rust-bors[bot] merged 33 commits into
rust-lang:mainfrom
Zalathar:rollup-Ax8lWOr
Nov 9, 2026
Merged

rust-bors[bot] merged 33 commits into
rust-lang:mainfrom
Zalathar:rollup-Ax8lWOr

Conversation

@Zalathar

@Zalathar Zalathar commented Nov 9, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

susitsm and others added 30 commits November 5, 2026 14:22
* Keep comments inside parens when suggesting to remove unused delims
* Only shrink unused delim spans when there is a comment
* Always point at the delimiters alone in unused delims warnings
* Use a single shrink closure for unused delim spans
…-definition-help, r=notriddle

rustdoc: suggest reference definitions for unresolved links

Addresses point 3 from rust-lang#132788
> if the type that is being linked to is outside the current documentation bundle (e.g. linking to a type in an alternative library for the purpose of comparison, or linking to a non-rust type), then it should recommend adding a link definition item.

<img width="948" height="295" alt="Screenshot 2026-11-08 at 21 07 30" src="https://github.com/user-attachments/assets/164768d3-d32c-49eb-8a6f-3a0114d26944" />
…eyouxu

Refactor enum layout calculation

Moves layout calculation of enums to its own file, chunks large functions into smaller ones and makes some variables immutable
…comments, r=adwinwhite

Keep comments inside parens when suggesting to remove unused delims

When there's a comment between a paren and the inner expression, `unused_parens` suggests removing
it along with the paren, and with line breaks the spans cover the whole block. This points at the
delimiters only in that case, and only removes the delimiter on a side that has a comment.

Fixes rust-lang#164722

FYI, tests are written with the help of AI. I reviewed and they are working as expected. Thanks
…ction, r=oli-obk

get rid of InterpCx::get_alloc_bytes_unchecked_raw(_mut)

These two methods are called once in total, and just wrap other methods that are already public.

r? @oli-obk
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 9, 2026
@Zalathar

Zalathar commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Rollup of everything.

@bors r+ rollup=never p=5 force

@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 78a963b has been approved by Zalathar

It is now in the queue for this repository.

@rust-bors rust-bors Bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 9, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-filesystem Area: `std::fs` 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-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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. labels Nov 9, 2026
@rust-bors

This comment has been minimized.

@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 9, 2026
@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: Zalathar
Duration: 2h 51m 10s
Pushing 495625e to main...

@github-actions

github-actions Bot commented Nov 9, 2026

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 fd4400d (parent) -> 495625e (this PR)

Test differences

Show 31 test diffs

Stage 1

  • [ui] tests/rustdoc-ui/intra-doc/external-link-definition-help-issue-132788.rs: [missing] -> pass (J0)
  • [ui] tests/ui/lint/unused/unused-delims-with-comments-164722.rs: [missing] -> pass (J1)
  • [ui (polonius)] tests/ui/lint/unused/unused-delims-with-comments-164722.rs: [missing] -> pass (J2)

Stage 2

  • [ui] tests/rustdoc-ui/intra-doc/external-link-definition-help-issue-132788.rs: [missing] -> pass (J3)
  • [ui] tests/ui/lint/unused/unused-delims-with-comments-164722.rs: [missing] -> pass (J4)

Additionally, 26 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 495625e3cba369dad96c4d1e8030e8fe1816ab2c --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-gnu-stdlib-semver-check: 9m 22s -> 17m 12s (+83.6%)
  2. test-pr-check-1: 23m 16s -> 40m 44s (+75.1%)
  3. test-x86_64-gnu-tools: 41m 42s -> 1h 11m (+71.0%)
  4. test-x86_64-msvc-2: 1h 34m -> 2h 33m (+62.2%)
  5. dist-i686-mingw: 34m 19s -> 55m 13s (+60.9%)
  6. test-x86_64-gnu: 1h 36m -> 2h 31m (+57.7%)
  7. dist-x86_64-msvc-alt: 1h 45m -> 2h 45m (+56.8%)
  8. test-arm-android: 1h 12m -> 1h 53m (+55.1%)
  9. dist-arm-linux-musl: 1h 13m -> 1h 52m (+53.6%)
  10. dist-various-2: 34m 29s -> 52m 21s (+51.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.

@Zalathar
Zalathar deleted the rollup-Ax8lWOr branch November 9, 2026 13:10
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (495625e): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 5.3%, secondary 3.6%)

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

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

Cycles

Results (primary 1.5%, secondary -0.4%)

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

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

Binary size

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

Bootstrap: 485.883s -> 482.583s (-0.68%)
Artifact size: 406.18 MiB -> 406.20 MiB (0.00%)

@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#165660 rustdoc: suggest reference definitions for unresolved links 80302cff3242cb1a162329f9dcc2c0d20af3ec58
(link)
#163749 Refactor enum layout calculation 2cfcbb864fcdb60d82437624cef3a0880ba79c80
(link)
#165036 Keep comments inside parens when suggesting to remove unuse… 02f803c9e7bb8ac2a16462ac820827ef43418976
(link)
#165658 get rid of InterpCx::get_alloc_bytes_unchecked_raw(_mut) 9fd0462214b2907935f7899de86e3218d4032417
(link)
#165664 Fix unused imports in VEXos filesystem 91c5cfe32557811004625a967427928e363a9f72
(link)
#165666 Error on macro_use attribute on decl macro 29227b056e991701536ae5029b9f90400cf6cb6f
(link)
#165667 Bump deps for citool and main workspace 64be5153808707b0b6ba49b72beada30e9578cca
(link)

parent commit: fd4400dce2

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.

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-filesystem Area: `std::fs` 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 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants