Skip to content

Rollup of 5 pull requests#152321

Merged
rust-bors[bot] merged 10 commits intorust-lang:mainfrom
Zalathar:rollup-ezxwhfJ
Feb 8, 2026
Merged

Rollup of 5 pull requests#152321
rust-bors[bot] merged 10 commits intorust-lang:mainfrom
Zalathar:rollup-ezxwhfJ

Conversation

@Zalathar
Copy link
Member

@Zalathar Zalathar commented Feb 8, 2026

Successful merges:

r? @ghost

Create a similar rollup

estebank and others added 10 commits January 2, 2026 22:32
git can be configured to use more than 7 characters for conflict markers, and jj automatically uses longer conflict markers when the text contains any char sequence that could be confused with conflict markers. Ensure that we only point at markers that are consistent with the start marker's length.

Ensure that we only consider char sequences at the beginning of a line as a diff marker.
I left a few, like
```rust
let result: Result<_, ModError<'_>> = try {
```
where it felt like seeing it might still be useful for the reader.

Feel free to push back on any of these changes if you think seeing the type would be better.
Remedying the borrowck error will likely result in the mut becoming
used.
…h726

Support long diff conflict markers

git can be configured to use more than 7 characters for conflict markers, and jj automatically uses longer conflict markers when the text contains any char sequence that could be confused with conflict markers. Ensure that we only point at markers that are consistent with the start marker's length.

Ensure that we only consider char sequences at the beginning of a line as a diff marker.

Fix rust-lang#150352.
…er, r=jackh726

Remove some unnecessary `try`-related type annotations

I left a few, like
```rust
let result: Result<_, ModError<'_>> = try {
```
where it felt like seeing it might still be useful for the reader.

Feel free to push back on any of these changes if you think they should be left alone.
…error, r=jackh726

Suppress unused_mut lint if mutation fails due to borrowck error

Remedying the borrowck error will likely result in the mut becoming used, and therefore the lint is likely incorrect.

Fixes rust-lang#152024
r? compiler
Weaken `assert_dep_node_not_yet_allocated_in_current_session` for multiple threads

This changes `assert_dep_node_not_yet_allocated_in_current_session` to not panic if the node is already marked green. Another thread may manage to mark it green if there was uncolored node when we initially tried to mark it green.
… r=jackh726

Document `-Zcache-proc-macros`

Forgot about this in rust-lang#145354.

Created a tracking issue in rust-lang#151364.
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Feb 8, 2026
@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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. labels Feb 8, 2026
@Zalathar
Copy link
Member Author

Zalathar commented Feb 8, 2026

Rollup of everything.

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 8, 2026

📌 Commit 5d88832 has been approved by Zalathar

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 Feb 8, 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 Feb 8, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 8, 2026

☀️ Test successful - CI
Approved by: Zalathar
Duration: 3h 28m 8s
Pushing be4794c to main...

@rust-bors rust-bors bot merged commit be4794c into rust-lang:main Feb 8, 2026
12 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 8, 2026
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#150443 Support long diff conflict markers 67b5d0e658881dce9bc993a293a99a0e2cfb3f77 (link)
#151227 Document -Zcache-proc-macros 4c51425e4ea1a07f3a1a59c26db5c2e9dd7d0a49 (link)
#151887 Remove some unnecessary try-related type annotations 3993f198bffc1fbcdac1389528f14512eccc72ff (link)
#152037 Suppress unused_mut lint if mutation fails due to borrowck … e8ee3c7ffe1de452ae7238f7279ce6205c6ef2f8 (link)
#152067 Weaken `assert_dep_node_not_yet_allocated_in_current_sessio… e8c18eb53375761a590f3866cb33164a35dc0164 (link)

previous master: 13c38730d9

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 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 13c3873 (parent) -> be4794c (this PR)

Test differences

Show 10 test diffs

Stage 1

  • [ui] tests/ui/lint/unused/mut-used-despite-borrowck-error.rs: [missing] -> pass (J1)
  • [ui] tests/ui/parser/diff-markers/long-conflict-markers.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/lint/unused/mut-used-despite-borrowck-error.rs: [missing] -> pass (J0)
  • [ui] tests/ui/parser/diff-markers/long-conflict-markers.rs: [missing] -> pass (J0)

Additionally, 6 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 be4794c78beca8a88f0a1ee583f3d4b5c321e5d8 --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. aarch64-apple: 2h 35m -> 3h 20m (+29.3%)
  2. dist-aarch64-apple: 1h 42m -> 2h 7m (+25.1%)
  3. dist-x86_64-apple: 1h 59m -> 2h 22m (+18.8%)
  4. dist-apple-various: 1h 1m -> 1h 10m (+14.8%)
  5. x86_64-msvc-ext3: 1h 52m -> 1h 40m (-10.6%)
  6. x86_64-gnu-miri: 1h 21m -> 1h 14m (-8.2%)
  7. i686-gnu-1: 2h 10m -> 2h 20m (+7.6%)
  8. aarch64-gnu: 2h 14m -> 2h 4m (-7.2%)
  9. x86_64-gnu-aux: 2h 19m -> 2h 9m (-6.9%)
  10. arm-android: 1h 43m -> 1h 50m (+6.7%)
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
Collaborator

Finished benchmarking commit (be4794c): comparison URL.

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

Max RSS (memory usage)

Results (secondary 5.2%)

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)
5.2% [4.5%, 5.8%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

Results (secondary -1.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)
2.4% [2.4%, 2.4%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.7% [-3.4%, -2.1%] 2
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 471.737s -> 474.258s (0.53%)
Artifact size: 397.92 MiB -> 397.98 MiB (0.02%)

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

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants