Skip to content

Rollup of 9 pull requests - #164804

Merged
rust-bors[bot] merged 42 commits into
rust-lang:mainfrom
fmease:rollup-MuYCC3k
Oct 23, 2026
Merged

rust-bors[bot] merged 42 commits into
rust-lang:mainfrom
fmease:rollup-MuYCC3k

Conversation

@fmease

@fmease fmease commented Oct 23, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

dianne and others added 30 commits August 11, 2026 04:47
This updates the rust-toolchain.toml file to nightly-2026-10-08 (1d81eb4).
Do not suggest

```
help: consider importing this module
   |
LL +         use a;
   |
```

Suggest renamed re-exports:

```
error[E0603]: module `i` is private
  --> $DIR/privacy1.rs:172:20
   |
LL |     use self::foo::i::A;
   |                    ^ private module
   |
note: the module `i` is defined here
  --> $DIR/privacy1.rs:177:9
   |
LL |         mod i {
   |         ^^^^^
help: consider importing this struct through its public re-export instead
   |
LL -     use self::foo::i::A;
LL +     use mytest::foo::Z;
   |
```

Suggest renamed imports:

```
error[E0404]: expected trait, found struct `Debug`
  --> $DIR/suggest-re-exported-name.rs:7:22
   |
LL | pub fn foo() -> impl Debug {
   |                      ^^^^^ not a trait
   |
help: consider using this trait through its public re-export instead
   |
LL | pub fn foo() -> impl OtherDebug {
   |                      +++++
```
This updates the rust-toolchain.toml file to nightly-2026-10-12 (080cc27).
This updates the rust-toolchain.toml file to nightly-2026-10-14 (822182d).
This updates the rust-toolchain.toml file to nightly-2026-10-19 (b6eeb93).
records current behaviour. for an anonymous lifetime the suggestion renders use<'_>, which resolves to the first elided lifetime in the signature. two of the cases here still fail after applying it, and one stops resolving entirely and reports a missing lifetime specifier on top of the original error.
for an anonymous lifetime the suggestion rendered use<'_>, which resolves to the first elided lifetime in the signature. with several of them it either captured the wrong one or stopped resolving and reported a missing lifetime specifier on top of the original error.

when the hidden type captures more than one anonymous lifetime the suggestion now names them in the signature and lists those names in the bound. a signature with a single elided lifetime keeps the shorter use<'_> form.

fixes rust-lang#132199
suggest_name_regions names several regions against one set of used names and adds the new generic parameters once, and suggest_name_region now delegates to it
This updates the rust-toolchain.toml file to nightly-2026-10-23 (7189d39).
And "eager (type alias)" with "unchecked (type alias)".
@rustbot rustbot added 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. labels Oct 23, 2026
@fmease

fmease commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit c841ffb has been approved by fmease

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 Oct 23, 2026
@fmease

fmease commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

Trying commonly failed jobs
@bors try jobs=dist-various-1,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

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 23, 2026
Rollup of 9 pull requests


try-job: dist-various-1
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
@rust-bors

This comment has been minimized.

@rust-bors

rust-bors Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 6143367 (61433673443d46e3f26946c2a2e21b1d9bb164b5)
Base parent: fe2b43d (fe2b43dd212769ef40ae2e32e5c5f5364642b82b)

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

rust-bors Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: fmease
Duration: 3h 30m 8s
Pushing e481b82 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 fe2b43d (parent) -> e481b82 (this PR)

Test differences

Show 334 test diffs

Stage 1

  • [ui] tests/ui/async-await/async-drop/async-drop-shim-proxy-164433.rs: [missing] -> pass (J0)
  • [ui] tests/ui/borrowck/dont-kill-shallow-borrows-on-child-writes.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-alias/auto-trait-impls.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/bad-lazy-type-alias.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/coerce-behind-lazy.rs#current: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/constrained-late-bound-regions.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/constrained-params-in-impl.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/deep-expansion.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/enum-variant.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/extern-crate-has-eager-type-aliases.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/implied-outlives-bounds.rs#neg: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/inherent-impls-conflicting.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/inherent-impls-overflow.rs#current: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/leading-where-clause.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/type-alias-bounds-are-enforced.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/unconstrained-late-bound-regions.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/unused-generic-parameters.rs#fail: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/unused-generic-parameters.rs#pass: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/variance-0.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/variance-1.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-alias/variance-overflow.rs: pass -> [missing] (J0)
  • [ui] tests/ui/checked-type-aliases/auto-trait-impls.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/def-site-body-wf.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/implied-outlives-bounds.rs#pos: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/inherent-impls-conflicting.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/inherent-impls-not-nominal.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/leading-where-clause.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/unconstrained-late-bound-regions.rs: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/unused-generic-parameters.rs#pass: [missing] -> pass (J0)
  • [ui] tests/ui/checked-type-aliases/variance-unused-param-through-alias-chain.rs: [missing] -> pass (J0)
  • [ui] tests/ui/const-generics/check_const_arg_type_in_free_alias.rs#lazy: pass -> [missing] (J0)
  • [ui] tests/ui/const-generics/check_const_arg_type_in_free_alias.rs#unchecked: [missing] -> pass (J0)
  • [ui] tests/ui/proc-macro/attributes-on-modules-fail.rs#ed2015: [missing] -> pass (J0)
  • [ui] tests/ui/proc-macro/attributes-on-modules-fail.rs#ed2024: [missing] -> pass (J0)
  • [ui] tests/ui/type-alias-impl-trait/debug-ty-with-free-alias.rs: [missing] -> pass (J0)
  • [ui] tests/ui/type-alias-impl-trait/impl_for_weak_alias.rs: pass -> [missing] (J0)
  • [ui] tests/ui/type-alias/unresolved-assoc-ty-suggest-trait.rs#lazy: pass -> [missing] (J0)
  • [ui (polonius)] tests/ui/checked-type-alias/auto-trait-impls.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/bad-lazy-type-alias.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/coerce-behind-lazy.rs#current: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/constrained-late-bound-regions.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/constrained-params-in-impl.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/deep-expansion.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/def-site-predicates-wf.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/enum-variant.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/extern-crate-has-lazy-type-aliases.rs#locally_eager: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/inherent-impls-conflicting.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/inherent-impls-overflow.rs#current: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/leading-where-clause.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/trailing-where-clause.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/unconstrained-late-bound-regions.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/unconstrained-params-in-impl-due-to-overflow.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/unused-generic-arguments-not-wfchecked.rs#current-bugged: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/unused-generic-arguments-not-wfchecked.rs#next-bugged: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-alias/variance-0.rs: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/auto-trait-impls.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/constrained-params-in-impl.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/enum-variant.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/inherent-impls-conflicting.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/inherent-impls-not-nominal.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/inherent-impls-overflow.rs#current: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/type-alias-bounds-are-enforced.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/unconstrained-params-in-impl-due-to-overflow.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/unused-generic-parameters.rs#fail: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/checked-type-aliases/use-site-wf.rs: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/coherence/orphan-check-weak-aliases-covering.rs#classic: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/coherence/orphan-check-weak-aliases-covering.rs#next: pass -> [missing] (J2)
  • [ui (polonius)] tests/ui/proc-macro/attributes-on-modules-fail.rs#ed2024: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/type-alias/unresolved-assoc-ty-suggest-trait.rs#checked: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/type-alias/unresolved-assoc-ty-suggest-trait.rs#eager: pass -> [missing] (J2)

Stage 2

  • [ui] tests/ui/checked-type-alias/bad-lazy-type-alias.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/coerce-behind-lazy.rs#next: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/deep-expansion.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/extern-crate-has-eager-type-aliases.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/extern-crate-has-lazy-type-aliases.rs#locally_lazy: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/inherent-impls-not-nominal.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/inherent-impls.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-alias/variance-overflow.rs: pass -> [missing] (J1)
  • [ui] tests/ui/checked-type-aliases/coerce-behind-lazy.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/coerce-behind-lazy.rs#next: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/constrained-late-bound-regions.rs: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/def-site-body-wf.rs: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/enum-variant.rs: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/extern-crate-has-checked-type-aliases.rs#locally_checked: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/extern-crate-has-checked-type-aliases.rs#locally_unchecked: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/implied-outlives-bounds.rs#pos: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/inherent-impls.rs: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/opaq-ty-collection-infinite-recur.rs: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/unused-generic-arguments-not-wfchecked.rs#current-bugged: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/unused-generic-arguments-not-wfchecked.rs#next-bugged: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/unused-generic-arguments-not-wfchecked.rs#next-fixed: [missing] -> pass (J1)
  • [ui] tests/ui/checked-type-aliases/variance-1.rs: [missing] -> pass (J1)
  • [ui] tests/ui/coherence/orphan-check-free-aliases-covering.rs#classic: [missing] -> pass (J1)
  • [ui] tests/ui/coherence/orphan-check-weak-aliases-covering.rs#next: pass -> [missing] (J1)
  • [ui] tests/ui/coherence/orphan-check-weak-aliases-not-covering.rs: pass -> [missing] (J1)
  • [ui] tests/ui/impl-trait/precise-capturing/name-anon-lifetime-suggestion-issue-132199.rs: [missing] -> pass (J1)
  • [ui] tests/ui/proc-macro/attributes-on-modules-fail.rs: pass -> [missing] (J1)
  • [ui] tests/ui/type-alias-impl-trait/debug-ty-with-weak.rs: pass -> [missing] (J1)
  • [ui] tests/ui/type-alias-impl-trait/infinite-cycle-involving-weak.rs: pass -> [missing] (J1)
  • [ui] tests/ui/type-alias/recursive-lazy-type-alias-ice-152633.rs: pass -> [missing] (J1)

(and 216 additional test diffs)

Additionally, 18 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 e481b820663a10f5dad2478b2246daf73482ba82 --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-1: 1h 45m -> 2h 59m (+69.4%)
  2. test-x86_64-msvc-ext2: 1h 5m -> 1h 46m (+62.8%)
  3. test-x86_64-gnu: 1h 38m -> 2h 35m (+58.7%)
  4. dist-x86_64-msvc: 2h 12m -> 3h 28m (+57.8%)
  5. dist-riscv64-linux-musl: 1h -> 1h 32m (+51.9%)
  6. optional-test-x86_64-gnu-autodiff: 39m 15s -> 59m 18s (+51.1%)
  7. dist-various-2: 33m 54s -> 50m 55s (+50.2%)
  8. test-i686-gnu-2: 1h 9m -> 1h 42m (+46.9%)
  9. test-x86_64-gnu-llvm-22-1: 52m 5s -> 1h 13m (+41.6%)
  10. test-armhf-gnu: 1h 42m -> 59m 54s (-41.3%)
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

Finished benchmarking commit (e481b82): comparison URL.

Overall result: ✅ 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
Regressions ❌
(secondary)
0.3% [0.3%, 0.3%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.2% [-0.4%, -0.0%] 12
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -0.5%, secondary 0.5%)

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

mean range count
Regressions ❌
(primary)
0.7% [0.4%, 1.0%] 6
Regressions ❌
(secondary)
0.5% [0.5%, 0.6%] 2
Improvements ✅
(primary)
-2.1% [-6.5%, -0.4%] 4
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -0.5% [-6.5%, 1.0%] 10

Cycles

Results (primary 0.6%, secondary 0.7%)

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

mean range count
Regressions ❌
(primary)
1.4% [0.6%, 4.7%] 8
Regressions ❌
(secondary)
1.0% [0.4%, 2.7%] 8
Improvements ✅
(primary)
-0.8% [-1.3%, -0.5%] 5
Improvements ✅
(secondary)
-1.7% [-1.7%, -1.7%] 1
All ❌✅ (primary) 0.6% [-1.3%, 4.7%] 13

Binary size

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

Bootstrap: 488.459s -> 487.9s (-0.11%)
Artifact size: 406.24 MiB -> 406.28 MiB (0.01%)

@rust-bors

rust-bors Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#164792 rustc_codegen_cranelift subtree update bab3440e9da5a5103ddbd61014e22d189bb4583c
(link)
#163799 std: keep value of local_pointer! until thread_cleanup … 59353e255fa4b09f71e864fa9a3b088d8055714f
(link)
#164781 Bump dist-x86_64-illumos to Ubuntu 22.04 f8fc722f178c2703bc56091385ec21a5294f75f5
(link)
#160902 borrowck dataflow: respect borrow shallowness when killing … 1651cb560890fc2af1d6db3e7d4f5b8a62a12b7a
(link)
#163684 suggest named lifetimes instead of '_ in use<...> for E… 6494037682dfa18d132936deb985f22491c60b14
(link)
#164167 Account for use foo as bar; on resolution error suggestio… 79134a0788941eaab79188c0a072f26fc0d277c6
(link)
#164438 Make async drop shim proxy pinned 52f3698dabc1376ceb39cb86326187ebc6f22004
(link)
#164528 Complete the various renamings of terms belonging to featur… 575f569eccdc0d54617bcb68097d297152c0056c
(link)
#164796 miri: fix ICE when caller signature is c-variadic but calle… 127bdc7ea95e5d41870b8645b0718d296d2cffbf
(link)

parent commit: fe2b43dd21

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-CI Area: Our Github Actions CI 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.