Skip to content

Rollup of 10 pull requests - #144502

Merged
bors merged 33 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-o81uk9m
Jul 26, 2025
Merged

Rollup of 10 pull requests#144502
bors merged 33 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-o81uk9m

Conversation

@matthiaskrgr

@matthiaskrgrmatthiaskrgr commented Jul 26, 2025

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

tshepangand others added 30 commits July 21, 2025 12:19
…tocol
add rdg push git config entry for git protocol pushers (again)
Now all our Josh subtrees should be using josh-sync.
Given
```rust
fn main() {
let maybe_vec = Some(vec![1,2,3]);
assert_eq!(maybe_vec.len(), 3);
}
```
suggest unwraping `maybe_vec` to call `.len()` on the `Vec<_>`.
```
error[E0624]: method `len` is private
--> $DIR/enum-method-probe.rs:61:9
|
LL | res.len();
| ^^^ private method
--> $SRC_DIR/core/src/option.rs:LL:COL
|
= note: private method defined here
|
note: the method `len` exists on the type `Vec<{integer}>`
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
help: consider using `Option::expect` to unwrap the `Vec<{integer}>` value, panicking if the value is an `Option::None`
|
LL | res.expect("REASON").len();
| +++++++++++++++++
```
This updates the rust-version file to efd420c.
Pull recent changes from https://github.com/rust-lang/rust via Josh.
Upstream ref: efd420c
Filtered ref: d11dbbb02905535a89393e80c24274bee81fa928
This merge was created using https://github.com/rust-lang/josh-sync.
this makes the triagebot pings for this module simpler
there is no `llvm.lld` option
…ve_omitted_patterns, r=Nadrieril
Disable non_exhaustive_omitted_patterns within matches! macro
Closesrust-lang#117304.
I believe I can skip all of the bootstrap stuff mentioned in rust-lang#117304 (comment) due to https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/, right?
cc `@Jules-Bertholet`
Suggest unwrapping when private method name is available in inner type
Given
```rust
fn main() {
let maybe_vec = Some(vec![1,2,3]);
assert_eq!(maybe_vec.len(), 3);
}
```
suggest unwraping `maybe_vec` to call `.len()` on the `Vec<_>`.
```
error[E0624]: method `len` is private
--> $DIR/enum-method-probe.rs:61:9
|
LL | res.len();
| ^^^ private method
--> $SRC_DIR/core/src/option.rs:LL:COL
|
= note: private method defined here
|
note: the method `len` exists on the type `Vec<{integer}>`
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
help: consider using `Option::expect` to unwrap the `Vec<{integer}>` value, panicking if the value is an `Option::None`
|
LL | res.expect("REASON").len();
| +++++++++++++++++
```
When a method isn't available, we emit E0599, but when it is private we emit E0624. We now just invoke the same suggestion logic from the later that we already did in the former.
Fixrust-lang#143795.
…list, r=oli-obk
Call `is_parsed_attribute` rather than keeping track of a list of parsed attributes manually
r? ```@oli-obk```
Nicer code & will prevent issues like rust-lang#144358 in the future
…ized_users, r=cuviper
Allow setting `release-blog-post` label with rustbot
r? release
I forgot to do this when we originally added the label and updated the generated description for relnotes issues
…ame, r=Kobzol
rename ext_tool_checks to extra_checks and use mod.rs
this makes the triagebot pings for this module simpler
discussed in https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/rename.20and.20reorganize.20ext_tool_checks.20module.3F/with/528398253
r? `@Kobzol`
rustc-dev-guide subtree update
Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@4e31088.
Created using https://github.com/rust-lang/josh-sync.
r? ```@ghost```
…only, r=compiler-errors
Limit defaultness query to impl of trait
I separated this out from rust-lang#144386.
…rgs, r=RalfJung
Allow pretty printing paths with `-Zself-profile-events=args`
`-Zself-profile-events=args` is pretty heavy and can pretty print a lot of stuff. Rather than hunting down specific cases where this happens, I'd just allow calling `trimmed_def_paths` in this mode.
Fixes: rust-lang#144457
r? `@RalfJung`
change_tracker: fix a typo
there is no `llvm.lld` option
r? `@Kobzol`
…rrowLii
resolve: Do not create `NameResolutions` on access unless necessary
`fn resolution` now just performs the access, and `fn resolution_or_default` will insert a default entry if the entry is missing.
@rustbotrustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustc-dev-guide Area: rustc-dev-guide A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. rollup A PR which is a rollup labels Jul 26, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Jul 26, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 429cc9a has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Jul 26, 2025
@bors

bors commented Jul 26, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 429cc9a with merge 133798f...

@bors

bors commented Jul 26, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 133798f to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Jul 26, 2025
@bors
bors merged commit 133798f into rust-lang:masterJul 26, 2025
11 checks passed
@rustbotrustbot added this to the 1.90.0 milestone Jul 26, 2025
@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 8708f3c (parent) -> 133798f (this PR)

Test differences

Show 83 test diffs

Stage 1

  • [ui] tests/ui/self-profile/pretty_print_no_ice.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/self-profile/pretty_print_no_ice.rs: [missing] -> pass (J0)

Additionally, 81 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 133798f9fb2887bcccf1098937540e280dd58465 --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-x86_64-apple: 7323.1s -> 9145.1s (24.9%)
  2. x86_64-apple-2: 4293.7s -> 5222.2s (21.6%)
  3. dist-aarch64-apple: 6367.6s -> 5486.8s (-13.8%)
  4. x86_64-apple-1: 6912.9s -> 6290.1s (-9.0%)
  5. aarch64-gnu-debug: 4112.7s -> 4480.1s (8.9%)
  6. dist-apple-various: 6319.2s -> 6846.8s (8.4%)
  7. arm-android: 6179.2s -> 6632.2s (7.3%)
  8. dist-powerpc64le-linux-gnu: 5085.5s -> 5405.4s (6.3%)
  9. x86_64-gnu-llvm-19: 2774.3s -> 2948.1s (6.3%)
  10. aarch64-apple: 4813.9s -> 5115.2s (6.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

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#144331Disable non_exhaustive_omitted_patterns within matches! mac…85aab14afdcba42cd7ebe5727e1883318a9366ab (link)
#144376Suggest unwrapping when private method name is available in…6d7837b9eafa969a4f835167ab1e745e4e557779 (link)
#144421Call is_parsed_attribute rather than keeping track of a l…ff937a37131a7cd635f773a6666f25a2723235c6 (link)
#144424Allow setting release-blog-post label with rustbot159ddd6173f44913262cd3c5dbfeca9e35e0db24 (link)
#144427rename ext_tool_checks to extra_checks and use mod.rsebaa82857c695c1682da7832efaf6cd317b1e169 (link)
#144435rustc-dev-guide subtree update44b1219907f08ce06c5e1440d73623311db68119 (link)
#144448Limit defaultness query to impl of trait64beb998ae031848ad23a3961b57c9c64319f8ac (link)
#144462Allow pretty printing paths with `-Zself-profile-events=arg…49de2b5c6d47ecd6ec6a9749153d260649412916 (link)
#144463change_tracker: fix a typo840588e4728ef0a8e41f17d4636ca2f7a4f78d44 (link)
#144468resolve: Do not create NameResolutions on access unless n…d0eae10d91aa80eebe1e9bbbfa98123dbd85d78a (link)

previous master: 8708f3cd1f

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 (133798f): comparison URL.

Overall result: ❌ regressions - 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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
0.3%[0.3%, 0.3%]2
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary -0.1%, secondary -3.3%)

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

meanrangecount
Regressions ❌
(primary)
2.4%[2.4%, 2.4%]1
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.3%[-1.4%, -1.1%]2
Improvements ✅
(secondary)
-3.3%[-3.3%, -3.3%]1
All ❌✅ (primary)-0.1%[-1.4%, 2.4%]3

Cycles

Results (primary -2.3%, secondary -4.4%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-2.3%[-2.3%, -2.3%]1
Improvements ✅
(secondary)
-4.4%[-4.4%, -4.4%]1
All ❌✅ (primary)-2.3%[-2.3%, -2.3%]1

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.

meanrangecount
Regressions ❌
(primary)
0.0%[0.0%, 0.1%]4
Regressions ❌
(secondary)
0.0%[0.0%, 0.0%]2
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)0.0%[0.0%, 0.1%]4

Bootstrap: 468.031s -> 466.195s (-0.39%)
Artifact size: 376.63 MiB -> 376.61 MiB (-0.01%)

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

Labels

A-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-rustc-dev-guideArea: rustc-dev-guideA-tidyArea: The tidy toolmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant 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.

15 participants

@matthiaskrgr@bors@rust-timer@rustbot@tshepang@Kobzol@Jules-Bertholet@jplatte@estebank@JonathanBrouwer@BoxyUwU@camsteffen@lolbinarycat@ognevny@petrochenkov