Skip to content

Rollup of 5 pull requests - #165711

Merged
rust-bors[bot] merged 133 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-MxaY3y5
Nov 9, 2026
Merged

rust-bors[bot] merged 133 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-MxaY3y5

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

panstromek and others added 6 commits November 9, 2026 17:38
`rust-analyzer` subtree update

Subtree update of `rust-analyzer` to rust-lang/rust-analyzer@e5e7830.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost
…e-ref, r=dianqk

Fix passing non-pointer value to `PlaceRef::new_sized` in `debug_poison_to_local`

The value passed to the first argument of `PlaceRef::new_sized` should be a pointer to a type with the layout of the second argument, not a value of the layout's type itself.

r? @dianqk
…-diagnostics, r=ShoyuVanilla

Next solver unsize coercion diagnostics

Adds special casing to the diagnostics alike the `Unsize` one we already had previously in order to provide better outputs, since the language user does not know about CoerceUnsized.

This affects mostly the next solver, which depends on this predicate in order to work while the old one didn't seem to register it, so it wouldn't generate this diagnostic.

More information in [zulip](https://rust-lang.zulipchat.com/#narrow/channel/618216-t-types.2Fcall-for-participation/topic/fix.20next.20solver.20unsize.20coercion.20diagnostics/with/637054385).
…, r=hanna-kruppe

Avoid terminator: None in custom mir parser

First step towards replacing `Option<Terminator>` with `Terminator` in `BasicBlockData`. See [this thread](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/vibe.20check.20-.20removing.20Option.20from.20Terminator/with/637588808) for more info.

This is a slight restructuring of the custom mir parser that avoids creating dummy basic blocks that don't have terminators. More details in individual commits.
…r=nia-e

Add LinkedList::allocator

Added an api extension LinkedList::allocator the same way `Vec`, `VecDeque`, `BinaryHeap`, `BTreeMap` and `BTreeSet` have it.

Tracking issue rust-lang#163177
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 9, 2026
@rustbot rustbot added A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-linkedlist Area: `std::collections::LinkedList` 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-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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 9, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit d25092b has been approved by JonathanBrouwer

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 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: JonathanBrouwer
Duration: 3h 4m 7s
Pushing ac8310b to main...

@rust-bors
rust-bors Bot merged commit ac8310b into rust-lang:main Nov 9, 2026
15 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 9, 2026
@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 7f56606 (parent) -> ac8310b (this PR)

Test differences

Show 180 test diffs

Stage 0

  • completions::record::tests::literal_struct_not_trigger_unreachable_path: [missing] -> pass (J0)
  • completions::record::tests::literal_variant_not_trigger_unreachable_path: [missing] -> pass (J0)
  • handlers::apply_demorgan::tests::regression_23609: [missing] -> pass (J0)
  • handlers::destructure_struct_binding::tests::wildcard_pat: [missing] -> pass (J0)
  • handlers::generate_documentation_template::tests::supports_fn_with_re_export: [missing] -> pass (J0)
  • handlers::generate_function::tests::add_function_with_generic_param_in_another_file: [missing] -> pass (J0)
  • handlers::invalid_pat_path_res::tests::fn_in_path_pattern: [missing] -> pass (J0)
  • handlers::invalid_pat_path_res::tests::static_in_path_pattern: [missing] -> pass (J0)
  • handlers::invalid_pat_path_res::tests::valid_const_and_unit_struct_in_pattern: [missing] -> pass (J0)
  • handlers::match_inherited_imm_ref_with_mut_ref_pat::tests::eat_outer_inherited_imm_ref_with_mut_pat: [missing] -> pass (J0)
  • handlers::move_bounds::tests::move_bounds_to_where_clause_assoc_type_alias: [missing] -> pass (J0)
  • handlers::move_bounds::tests::move_bounds_to_where_clause_type_alias: [missing] -> pass (J0)
  • handlers::type_mismatch::tests::issue_23528: [missing] -> pass (J0)
  • handlers::unresolved_associated_type::tests::unresolved_associated_type_generic_param: [missing] -> pass (J0)
  • handlers::unresolved_associated_type::tests::unresolved_associated_type_self: [missing] -> pass (J0)
  • inlay_hints::implicit_drop::tests::display_hint_only_for_drop_glue: [missing] -> pass (J0)
  • tests::diagnostics::assoc_item_ref_without_generics: [missing] -> pass (J0)
  • tests::regression::new_solver::coercion_lub_failed_obligations_does_not_panic: [missing] -> pass (J0)
  • tests::smoke_test_indent: [missing] -> pass (J0)
  • tests::test_expect_file: [missing] -> pass (J0)
  • tests::test_find_str_lit_len: [missing] -> pass (J0)
  • tests::test_format_patch: [missing] -> pass (J0)
  • tests::test_locate: [missing] -> pass (J0)
  • tests::test_patchwork: [missing] -> pass (J0)
  • tests::test_trivial_assert: [missing] -> pass (J0)
  • tests::type_pos::complete_traits_in_type_pos_edition_2018: [missing] -> pass (J0)
  • tests::type_pos::complete_traits_in_type_pos_edition_2021: [missing] -> pass (J0)
  • tests::type_pos::complete_traits_in_type_pos_edition_2021_with_dyn: [missing] -> pass (J0)

Stage 1

  • completions::record::tests::literal_struct_not_trigger_unreachable_path: [missing] -> pass (J1)
  • completions::record::tests::literal_variant_not_trigger_unreachable_path: [missing] -> pass (J1)
  • handlers::apply_demorgan::tests::regression_23609: [missing] -> pass (J1)
  • handlers::destructure_struct_binding::tests::wildcard_pat: [missing] -> pass (J1)
  • handlers::generate_documentation_template::tests::supports_fn_with_re_export: [missing] -> pass (J1)
  • handlers::generate_function::tests::add_function_with_generic_param_in_another_file: [missing] -> pass (J1)
  • handlers::invalid_pat_path_res::tests::fn_in_path_pattern: [missing] -> pass (J1)
  • handlers::invalid_pat_path_res::tests::static_in_path_pattern: [missing] -> pass (J1)
  • handlers::invalid_pat_path_res::tests::valid_const_and_unit_struct_in_pattern: [missing] -> pass (J1)
  • handlers::match_inherited_imm_ref_with_mut_ref_pat::tests::eat_outer_inherited_imm_ref_with_mut_pat: [missing] -> pass (J1)
  • handlers::move_bounds::tests::move_bounds_to_where_clause_assoc_type_alias: [missing] -> pass (J1)
  • handlers::move_bounds::tests::move_bounds_to_where_clause_type_alias: [missing] -> pass (J1)
  • handlers::type_mismatch::tests::issue_23528: [missing] -> pass (J1)
  • handlers::unresolved_associated_type::tests::unresolved_associated_type_generic_param: [missing] -> pass (J1)
  • handlers::unresolved_associated_type::tests::unresolved_associated_type_self: [missing] -> pass (J1)
  • inlay_hints::implicit_drop::tests::display_hint_only_for_drop_glue: [missing] -> pass (J1)
  • tests::diagnostics::assoc_item_ref_without_generics: [missing] -> pass (J1)
  • tests::regression::new_solver::coercion_lub_failed_obligations_does_not_panic: [missing] -> pass (J1)
  • tests::smoke_test_indent: [missing] -> pass (J1)
  • tests::test_expect_file: [missing] -> pass (J1)
  • tests::test_find_str_lit_len: [missing] -> pass (J1)
  • tests::test_format_patch: [missing] -> pass (J1)
  • tests::test_locate: [missing] -> pass (J1)
  • tests::test_patchwork: [missing] -> pass (J1)
  • tests::test_trivial_assert: [missing] -> pass (J1)
  • tests::type_pos::complete_traits_in_type_pos_edition_2018: [missing] -> pass (J1)
  • tests::type_pos::complete_traits_in_type_pos_edition_2021: [missing] -> pass (J1)
  • tests::type_pos::complete_traits_in_type_pos_edition_2021_with_dyn: [missing] -> pass (J1)
  • [ui] tests/ui/dst/unsize-coercion.rs#next: [missing] -> pass (J2)
  • [ui] tests/ui/dst/unsize-coercion.rs#old: [missing] -> pass (J2)
  • [ui (polonius)] tests/ui/dst/unsize-coercion.rs#next: [missing] -> pass (J3)
  • [ui (polonius)] tests/ui/dst/unsize-coercion.rs#old: [missing] -> pass (J3)

Stage 2

  • [ui] tests/ui/dst/unsize-coercion.rs#next: [missing] -> pass (J4)
  • [ui] tests/ui/dst/unsize-coercion.rs#old: [missing] -> pass (J4)

Additionally, 118 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 ac8310ba643a3796cbe77d2e06944d7c8513999f --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-mingw-1: 1h 55m -> 3h 2m (+58.1%)
  2. test-x86_64-gnu-llvm-22-3: 1h 19m -> 1h 57m (+48.4%)
  3. test-i686-gnu-1: 1h 35m -> 2h 17m (+43.5%)
  4. dist-sparcv9-solaris: 1h 12m -> 1h 40m (+38.8%)
  5. test-arm-android: 1h 54m -> 1h 10m (-38.5%)
  6. dist-arm-linux-gnueabi: 1h 37m -> 1h 2m (-35.7%)
  7. test-x86_64-msvc-ext3: 1h 4m -> 1h 26m (+33.9%)
  8. dist-powerpc64-linux-musl: 1h 40m -> 1h 9m (-31.2%)
  9. dist-powerpc64le-linux-musl: 1h 41m -> 1h 10m (-30.8%)
  10. dist-android: 36m 7s -> 25m 3s (-30.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

Finished benchmarking commit (ac8310b): 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 (secondary 1.7%)

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)
2.5% [0.9%, 3.4%] 9
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-5.7% [-5.7%, -5.7%] 1
All ❌✅ (primary) - - 0

Cycles

Results (primary -0.2%, secondary 3.0%)

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

mean range count
Regressions ❌
(primary)
2.0% [2.0%, 2.0%] 1
Regressions ❌
(secondary)
3.0% [2.1%, 4.6%] 6
Improvements ✅
(primary)
-2.4% [-2.4%, -2.4%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -0.2% [-2.4%, 2.0%] 2

Binary size

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

Bootstrap: 483.422s -> 481.131s (-0.47%)
Artifact size: 406.22 MiB -> 406.14 MiB (-0.02%)

@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
#165705 rust-analyzer subtree update 50694a337f540547134305667b9875a210e122bb
(link)
#165053 Fix passing non-pointer value to PlaceRef::new_sized in `… d218e88f8a65d822032cd0e8ba29e8bed719934b
(link)
#165404 Next solver unsize coercion diagnostics aefcb488ab3e81c0c0c1572bc62be3a49b94a044
(link)
#165502 Avoid terminator: None in custom mir parser a00a645d1fab1966d6aa4a24c4ebd4a262de38b0
(link)
#165697 Add LinkedList::allocator 45ed458032462af5ff6d36f7ad0401f0da98ce3b
(link)

parent commit: 7f56606f4d

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-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-linkedlist Area: `std::collections::LinkedList` 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-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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.