Skip to content

Rollup of 19 pull requests#156023

Merged
rust-bors[bot] merged 101 commits intorust-lang:mainfrom
jhpratt:rollup-sZeK85e
May 1, 2026
Merged

Rollup of 19 pull requests#156023
rust-bors[bot] merged 101 commits intorust-lang:mainfrom
jhpratt:rollup-sZeK85e

Conversation

@jhpratt
Copy link
Copy Markdown
Member

@jhpratt jhpratt commented May 1, 2026

Successful merges:

r? @ghost

Create a similar rollup

JohnTitor and others added 30 commits March 8, 2026 22:02
When an import like `use crate::a::b::Item` fails because module `b` is
private, the resolver now looks up public re-export paths for `Item` and
suggests them to the user.
…nts-description

Update THIR element description
This updates the rust-version file to d493b7c.
@rustbot rustbot added 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. labels May 1, 2026
@jhpratt
Copy link
Copy Markdown
Member Author

jhpratt commented May 1, 2026

@bors r+ rollup=never p=5

@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1,i686-msvc-2

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 1, 2026

📌 Commit fbde425 has been approved by jhpratt

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

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request May 1, 2026
Rollup of 19 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
try-job: i686-msvc-2
@rust-bors

This comment has been minimized.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 1, 2026

☀️ Try build successful (CI)
Build commit: cd5e1c5 (cd5e1c5583615b650b633e035418395dcb5a0c1e, parent: f53b654a8882fd5fc036c4ca7a4ff41ce32497a6)

@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 May 1, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 1, 2026

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 27m 16s
Pushing 0469a92 to main...

@rust-bors rust-bors Bot merged commit 0469a92 into rust-lang:main May 1, 2026
13 checks passed
@rust-bors rust-bors Bot mentioned this pull request May 1, 2026
@jhpratt jhpratt deleted the rollup-sZeK85e branch May 1, 2026 07:45
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

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 f53b654 (parent) -> 0469a92 (this PR)

Test differences

Show 132 test diffs

Stage 1

  • [codegen] tests/codegen-llvm/double_panic_wasm.rs: [missing] -> ignore (only executed when the architecture is wasm32) (J0)
  • [rustdoc-html] tests/rustdoc-html/doc-cfg/decl-macro.rs: [missing] -> pass (J0)
  • [ui] tests/ui/attributes/dont-allow-inline-and-repr-at-invalid-positions.rs: [missing] -> pass (J0)
  • [ui] tests/ui/attributes/repr-on-single-variant-Enum.rs: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#avr: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#m68k: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#msp430: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#riscv32e: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#sparc: [missing] -> pass (J0)
  • [ui] tests/ui/feature-gates/feature-gate-view-types.rs: [missing] -> pass (J0)
  • [ui] tests/ui/foreign/foreign-fn-with-more-than-8-byte-arg-size.rs: [missing] -> pass (J0)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2015: [missing] -> pass (J0)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2018: [missing] -> pass (J0)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2021: [missing] -> pass (J0)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2024: [missing] -> pass (J0)
  • [ui] tests/ui/issues/issue-19001.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-31769.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-33202.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-38763.rs: pass -> [missing] (J0)
  • [ui] tests/ui/recursion/recursive-struct-with-raw-pointer-field.rs: [missing] -> pass (J0)
  • [ui] tests/ui/resolve/generic-params-from-outer-item-suggestion.rs: [missing] -> pass (J0)
  • [codegen] tests/codegen-llvm/c-variadic-va-end.rs: [missing] -> pass (J2)
  • [codegen] tests/codegen-llvm/double_panic_wasm.rs: [missing] -> ignore (ignored on targets without unwinding support) (J7)

Stage 2

  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#avr: [missing] -> pass (J1)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#m68k: [missing] -> pass (J1)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#msp430: [missing] -> pass (J1)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#riscv32e: [missing] -> pass (J1)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#sparc: [missing] -> pass (J1)
  • [ui] tests/ui/attributes/dont-allow-inline-and-repr-at-invalid-positions.rs: [missing] -> pass (J3)
  • [ui] tests/ui/attributes/repr-on-single-variant-Enum.rs: [missing] -> pass (J3)
  • [ui] tests/ui/feature-gates/feature-gate-view-types.rs: [missing] -> pass (J3)
  • [ui] tests/ui/foreign/foreign-fn-with-more-than-8-byte-arg-size.rs: [missing] -> pass (J3)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2015: [missing] -> pass (J3)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2018: [missing] -> pass (J3)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2021: [missing] -> pass (J3)
  • [ui] tests/ui/imports/suggest-public-reexport-for-use.rs#edition2024: [missing] -> pass (J3)
  • [ui] tests/ui/issues/issue-19001.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-31769.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-33202.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-38763.rs: pass -> [missing] (J3)
  • [ui] tests/ui/recursion/recursive-struct-with-raw-pointer-field.rs: [missing] -> pass (J3)
  • [ui] tests/ui/resolve/generic-params-from-outer-item-suggestion.rs: [missing] -> pass (J3)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#avr: [missing] -> ignore (gcc backend is marked as ignore) (J4)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#m68k: [missing] -> ignore (gcc backend is marked as ignore) (J4)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#msp430: [missing] -> ignore (gcc backend is marked as ignore) (J4)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#riscv32e: [missing] -> ignore (gcc backend is marked as ignore) (J4)
  • [ui] tests/ui/feature-gates/feature-gate-c_variadic_experimental_arch.rs#sparc: [missing] -> ignore (gcc backend is marked as ignore) (J4)
  • [codegen] tests/codegen-llvm/c-variadic-va-end.rs: [missing] -> pass (J5)
  • [codegen] tests/codegen-llvm/double_panic_wasm.rs: [missing] -> ignore (only executed when the architecture is wasm32) (J5)
  • [rustdoc-html] tests/rustdoc-html/doc-cfg/decl-macro.rs: [missing] -> pass (J6)

Additionally, 82 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 0469a92a76c327df972cb6c1356934b7a0c6b86d --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-i686-msvc: 1h 45m -> 2h 23m (+35.8%)
  2. dist-aarch64-apple: 2h 9m -> 1h 31m (-29.5%)
  3. x86_64-gnu-aux: 2h 21m -> 1h 45m (-25.2%)
  4. x86_64-gnu-llvm-22-3: 1h 29m -> 1h 49m (+23.4%)
  5. pr-check-1: 27m 5s -> 33m 17s (+22.9%)
  6. dist-arm-linux-musl: 1h 42m -> 1h 19m (-22.8%)
  7. x86_64-gnu: 2h 20m -> 1h 50m (-21.1%)
  8. x86_64-gnu-tools: 52m 58s -> 1h 4m (+20.9%)
  9. i686-gnu-1: 2h 2m -> 2h 27m (+19.7%)
  10. i686-msvc-1: 2h 54m -> 2h 19m (-19.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-timer
Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#153566 Add suggestion for E0401 on inner const items 767415b88ef4d8a967e1b95030c340a4a3de1b29 (link)
#154610 Suggest public re-exports when a private module makes an im… 5ced07951cb88b67d94b19f0992042094bf919fa (link)
#155237 Disentangle AST crates and error crates e518d9ff11d9958947a16d07db6bf122d740dd2c (link)
#155249 Fix: On wasm targets, call panic_in_cleanup if panic occu… 60be315adcb0ae612e308b754788ae06dfe6ab93 (link)
#155523 Reorganize tests/ui/issues/ - 02 35519572f3541846aefcaf965a6965027ff949c1 (link)
#155821 c-variadic: document Clone and Drop instances and requi… 4dc40d106f57072d27616f4ca4066443f526497b (link)
#155853 Use _mcount as the mcount symbol name on RISC-V Linux GNU… 8013368f743812eb1bb6e28f51f62b11a3bc7098 (link)
#155919 simplify ast_fragments! 5f369d054765fca26fd397f5070a451de4a1b286 (link)
#155939 Add feature gate for view_types experiment 8891d62a8c82ec66515f271d913e8cd11f3c0ba1 (link)
#155954 rustdoc: preserve parent doc cfg for macro_export macros 40350fe83c04f0c78b7bc64419d68261679f7fa5 (link)
#155974 add c_variadic_experimental_arch feature f318cb68b413ea911bb6afa38b36f8e3b701bad2 (link)
#155980 Move feature* methods from parse mod to errors mod. e6afe2e6165b3da66749503dc02c11be69fe9a6e (link)
#155987 Make lifting infallible 1731b1eb48b23046a5c37212f6c312f780ad5058 (link)
#155988 tests/run-make/print-cfg: add Android target_env case d2e8c517e007f24f971ca085facae25d12483c9e (link)
#155991 Catch unwinds from the global ctxt callback to complete que… 7bf4037475860673d5ed3145ca63130f353dd2ab (link)
#156000 Fix ICE when using -Zinstrument-mcount and -Clinker-flavor=… 88e8277e9c2c2bee56d39c555e16b8188c1e3897 (link)
#156002 Allow to use Diagnostic directly in `SharedContext::emit_… 4855bf1c70e8ab554092d3d49152d9fc43a99596 (link)
#156003 Pass Session to optimize_and_codegen_fat_lto 98eb0a006bc3eefd0af5156d5c68db2eb953f1ef (link)
#156015 rustc-dev-guide subtree update 3dc18c146c9569a6b93c5663aef88ae1c704c14c (link)

previous master: f53b654a88

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
Copy Markdown
Collaborator

Finished benchmarking commit (0469a92): comparison URL.

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

Max RSS (memory usage)

Results (secondary 1.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)
3.8% [3.6%, 4.1%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.9% [-3.9%, -3.9%] 1
All ❌✅ (primary) - - 0

Cycles

Results (secondary -0.6%)

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)
3.1% [3.1%, 3.1%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.3% [-4.3%, -4.3%] 1
All ❌✅ (primary) - - 0

Binary size

Results (primary -0.0%, secondary -0.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)
0.1% [0.1%, 0.1%] 1
Improvements ✅
(primary)
-0.0% [-0.0%, -0.0%] 7
Improvements ✅
(secondary)
-0.1% [-0.1%, -0.1%] 3
All ❌✅ (primary) -0.0% [-0.0%, -0.0%] 7

Bootstrap: 487.787s -> 481.713s (-1.25%)
Artifact size: 390.97 MiB -> 390.96 MiB (-0.00%)

@rustbot rustbot added the perf-regression Performance regression. label May 1, 2026
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-run-make Area: port run-make Makefiles to rmake.rs A-rustc-dev-guide Area: rustc-dev-guide A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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-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.