Skip to content

Rollup of 6 pull requests - #166182

Merged
rust-bors[bot] merged 17 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-yfOUPW4
Nov 19, 2026
Merged

rust-bors[bot] merged 17 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-yfOUPW4

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

amirHdev and others added 17 commits November 12, 2026 13:11
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
```
help: trait `crate::method::A` which provides `a` is implemented but not reachable
  --> $DIR/item-privacy.rs:7:5
   |
LL |     trait A {
   |     ^^^^^^^
```
```
error[E0599]: no method named `qwer` found for struct `S` in the current scope
  --> $DIR/use-placement-typeck.rs:13:7
   |
LL |     s.qwer();
   |       ^^^^ method not found in `S`
...
LL |     pub struct S;
   |     ------------ method `qwer` not found for this struct
   |
note: the method is available on trait `Bar` for `S`
  --> $DIR/use-placement-typeck.rs:26:9
   |
LL |     impl Bar for S {
LL |         fn qwer(&self) {}
   |         ^^^^^^^^^^^^^^ the method is available here
   = help: items from traits can only be used if the trait is in scope
help: trait `Bar` which provides `qwer` is implemented but not in scope; perhaps you want to import it
   |
LL + use crate::m::Bar;
   |
```
`WithCachedTypeInfo<RegionKind>` is never used.
Tweak "missing method on type available here" diagnostic

Point at trait that is implemented but private. (Fix rust-lang#37629.)

```
help: trait `crate::method::A` which provides `a` is implemented but not reachable
  --> $DIR/item-privacy.rs:7:5
   |
LL |     trait A {
   |     ^^^^^^^
```

Point at method even when available through autoderef.

Use note instead of label when pointing at available method.

Point at `impl` where method is available in stead of just pointing at the trait:

```
error[E0599]: no method named `qwer` found for struct `S` in the current scope
  --> $DIR/use-placement-typeck.rs:13:7
   |
LL |     s.qwer();
   |       ^^^^ method not found in `S`
...
LL |     pub struct S;
   |     ------------ method `qwer` not found for this struct
   |
note: the method is available on trait `Bar` for `S`
  --> $DIR/use-placement-typeck.rs:26:9
   |
LL |     impl Bar for S {
LL |         fn qwer(&self) {}
   |         ^^^^^^^^^^^^^^ the method is available here
   = help: items from traits can only be used if the trait is in scope
help: trait `Bar` which provides `qwer` is implemented but not in scope; perhaps you want to import it
   |
LL + use crate::m::Bar;
   |
```
…les, r=tgross35

Add examples to Allocator methods

Part of [rust-lang#163232](rust-lang#163232)

Added examples to all six methods of the `Allocator` trait, namely `allocate`, `allocate_zeroed`, `deallocate`, `grow`, `grow_zeroed` and `shrink` using `System`.

Follows [rust-lang#165287](rust-lang#165287)
Checked with Miri.

r? libs
…er-recovery, r=mejrs

fix ICE when confirming invalid dyn method receivers

fixes rust-lang#165033

method lookup can pick a method with an invalid receiver which causes an ICE during confirmation and if the method has already failed well-formedness checking we recover instead of crashing
…clarfonthey

Remove `#[allow(missing_docs)]` where possible

Related to rust-lang#166067.

r? @clarfonthey
…youxu

Fix spurious parallel frontend test failure + Fix link
…, r=Kivooeo

Remove dead size assertion

`WithCachedTypeInfo<RegionKind>` is never used.

r? @Kivooeo
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 19, 2026
@rustbot rustbot added A-allocators Area: Custom and system allocators A-binaryheap Area: `std::collections::BinaryHeap` A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-io Area: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path) A-networking Area: `std::net` A-panic Area: Panicking machinery A-rustc-dev-guide Area: rustc-dev-guide O-unix Operating system: Unix-like 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. labels Nov 19, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 72def63 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 19, 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 19, 2026
@rust-bors

rust-bors Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 2m 29s
Pushing c884ecf to main...

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

Test differences

Show 638 test diffs

Stage 1

  • [ui (polonius)] tests/ui/self/invalid-self-dyn-receiver-cell.rs: [missing] -> pass (J0)
  • [ui] tests/ui/self/invalid-self-dyn-receiver-cell.rs: [missing] -> pass (J2)

Stage 2

  • [ui] tests/ui/self/invalid-self-dyn-receiver-cell.rs: [missing] -> pass (J1)
  • [ui] tests/ui/traits/cycle-guaranteed-unsized-self-type-116914.rs: pass -> ignore (ignored when the parallel frontend is enabled) (J3)

Additionally, 634 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 c884ecfbabb04b04fa5054dafc67ec258ecde745 --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: -> 3h (+inf%)
  2. test-x86_64-msvc-2: 1h 31m -> 2h 38m (+73.1%)
  3. test-x86_64-msvc-ext1: 1h 24m -> 2h 20m (+65.2%)
  4. dist-x86_64-musl: 1h 31m -> 2h 25m (+58.1%)
  5. dist-aarch64-freebsd: 44m 20s -> 1h 5m (+47.8%)
  6. test-x86_64-gnu-gcc-core-tests: 17m 30s -> 9m 8s (-47.8%)
  7. test-i686-msvc: 3h 19m -> 1h 51m (-44.3%)
  8. dist-powerpc-linux: 1h 3m -> 1h 31m (+43.5%)
  9. dist-loongarch64-musl: 2h 12m -> 1h 15m (-43.3%)
  10. dist-powerpc64-linux-musl: 1h 44m -> 1h 2m (-40.2%)
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 (c884ecf): 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 0.6%, 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)
2.1% [2.1%, 2.1%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.0% [-1.0%, -1.0%] 1
Improvements ✅
(secondary)
-0.4% [-0.4%, -0.4%] 1
All ❌✅ (primary) 0.6% [-1.0%, 2.1%] 2

Cycles

Results (secondary 0.3%)

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)
6.6% [6.6%, 6.6%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.3% [-3.9%, -0.4%] 4
All ❌✅ (primary) - - 0

Binary size

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

Bootstrap: 459.328s -> 458.8s (-0.11%)
Artifact size: 405.33 MiB -> 405.40 MiB (0.02%)

@rust-bors

rust-bors Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#165943 Tweak "missing method on type available here" diagnostic 633471ed65265028649e9d8cf4ddf94ad3f70765
(link)
#165321 Add examples to Allocator methods e58e8d3fbfbd052d4c7e95de07cf9a538edfaa05
(link)
#165851 fix ICE when confirming invalid dyn method receivers e5d6c9a319a962819d0b6c9e8657a763f5be308a
(link)
#166146 Remove #[allow(missing_docs)] where possible 89e5ffe865a8a54cf30ae821512e8fec7469ef40
(link)
#166165 Fix spurious parallel frontend test failure + Fix link da99bf4e1f1544f23faa230312262078f498d3b5
(link)
#166172 Remove dead size assertion 453ffee8a7911c0cd3747b8359ab9a4d78e320f0
(link)

parent commit: b0b600668b

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-allocators Area: Custom and system allocators A-binaryheap Area: `std::collections::BinaryHeap` A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-io Area: `std::io` (note: `std::fs`, `std::net`, `std::path` are A-filesystem, A-net, A-path) A-networking Area: `std::net` A-panic Area: Panicking machinery A-rustc-dev-guide Area: rustc-dev-guide merged-by-bors This PR was explicitly merged by bors. O-unix Operating system: Unix-like 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants