Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

Successful merges:

r? @ghost

Create a similar rollup

Enselic and others added 18 commits January 5, 2026 08:08
…, `no-SingleUseConsts-mir-pass`

To prevent regressions our test must cover the code both inside and
outside of the `SingleUseConsts` MIR pass. Use revisions for that.
This completes the transition to annotate-snippets
 tests/debuginfo/basic-stepping.rs: Add revisions `default-mir-passes`, `no-SingleUseConsts-mir-pass`

To prevent regressions our test must cover the code both inside and outside of the `SingleUseConsts` MIR pass. Use revisions for that.

We know this use case is sensitive to regressions because it already happened at least once. See rust-lang#33013 (comment).

CC rust-lang#130896
…=nnethercote

Remove old error emitter

This completes the transition to annotate-snippets and cuts 3600 lines of code.
…, r=RalfJung

use `deny(missing_docs)` for non-mir intrinsics
Move UI tests

Moved several regression tests from `tests/ui/issues` to specific folders
Derive `Default` for `QueryArenas`

There's no need to manually implement Default for this struct, because the fields are all `TypeArena<_>` or `()`, which both implement Default already.

This lets us avoid one occurrence of the `query_if_arena!` macro.
make `simd_insert_dyn` and `simd_extract_dyn` const

For use in `stdarch`. We currently use an equivalent of the fallback body here, but on some targets the intrinsic generate better code.

r? RalfJung
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Jan 21, 2026
@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. labels Jan 21, 2026
@JonathanBrouwer
Copy link
Contributor Author

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 21, 2026

📌 Commit 530eeff 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 Jan 21, 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 Jan 21, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 21, 2026

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 16m 44s
Pushing daa90b9 to main...

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

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#147426 tests/debuginfo/basic-stepping.rs: Add revisions `default-… 9b5a24b334b8291dba2b94c046669cc60b195b7f (link)
#150880 Remove old error emitter d1da86ef844dd634238b876b2ae44685f5b89a75 (link)
#151432 use deny(missing_docs) for non-mir intrinsics 6e0b729d4dc4c098835cc619d20a7c5978d42894 (link)
#151444 Move UI tests feb31e184e8c83b0f2c7fabd99cafbab8ef60dcc (link)
#151445 Derive Default for QueryArenas 1a1ed3e541e03d195034ebe3f37eb33521fe8450 (link)
#151453 make simd_insert_dyn and simd_extract_dyn const 113a0a6eb6fec28a50a84d720beea449563a733a (link)

previous master: 625b63f9e1

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

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 625b63f (parent) -> daa90b9 (this PR)

Test differences

Show 75 test diffs

Stage 1

  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs: pass -> [missing] (J3)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> pass (J3)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> pass (J3)
  • [ui] tests/ui/cast/generic-trait-object-call.rs: [missing] -> pass (J3)
  • [ui] tests/ui/extern/lgamma-linkage.rs: [missing] -> pass (J3)
  • [ui] tests/ui/generics/generic-impl-method-params-2311.rs: [missing] -> pass (J3)
  • [ui] tests/ui/generics/generic-trait-method-params-2311.rs: [missing] -> pass (J3)
  • [ui] tests/ui/generics/resolve-generic-method-param-2312.rs: [missing] -> pass (J3)
  • [ui] tests/ui/issues/issue-2190-1.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-2214.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-2288.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-2311-2.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-2311.rs: pass -> [missing] (J3)
  • [ui] tests/ui/issues/issue-2312.rs: pass -> [missing] (J3)
  • [ui] tests/ui/threads-sendsync/recursive-thread-spawn.rs: [missing] -> pass (J3)

Stage 2

  • [debuginfo-lldb] tests/debuginfo/basic-stepping.rs: ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) -> [missing] (J0)
  • [debuginfo-lldb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J0)
  • [debuginfo-lldb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J0)
  • [debuginfo-gdb (split-dwarf)] tests/debuginfo/basic-stepping.rs: pass -> [missing] (J1)
  • [debuginfo-gdb (split-dwarf)] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> pass (J1)
  • [debuginfo-gdb (split-dwarf)] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> pass (J1)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs: ignore (gcc backend is marked as ignore) -> [missing] (J2)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> ignore (gcc backend is marked as ignore) (J2)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> ignore (gcc backend is marked as ignore) (J2)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs: ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) -> [missing] (J4)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J4)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J4)
  • [ui] tests/ui/cast/generic-trait-object-call.rs: [missing] -> pass (J5)
  • [ui] tests/ui/extern/lgamma-linkage.rs: [missing] -> pass (J5)
  • [ui] tests/ui/generics/generic-impl-method-params-2311.rs: [missing] -> pass (J5)
  • [ui] tests/ui/generics/generic-trait-method-params-2311.rs: [missing] -> pass (J5)
  • [ui] tests/ui/generics/resolve-generic-method-param-2312.rs: [missing] -> pass (J5)
  • [ui] tests/ui/issues/issue-2190-1.rs: pass -> [missing] (J5)
  • [ui] tests/ui/issues/issue-2214.rs: pass -> [missing] (J5)
  • [ui] tests/ui/issues/issue-2288.rs: pass -> [missing] (J5)
  • [ui] tests/ui/issues/issue-2311-2.rs: pass -> [missing] (J5)
  • [ui] tests/ui/issues/issue-2311.rs: pass -> [missing] (J5)
  • [ui] tests/ui/issues/issue-2312.rs: pass -> [missing] (J5)
  • [ui] tests/ui/threads-sendsync/recursive-thread-spawn.rs: [missing] -> pass (J5)
  • [debuginfo-cdb] tests/debuginfo/basic-stepping.rs: ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) -> [missing] (J6)
  • [debuginfo-cdb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J6)
  • [debuginfo-cdb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> ignore (ignored when the architecture is aarch64 (Doesn't work yet.)) (J6)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs: pass -> [missing] (J7)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#default-mir-passes: [missing] -> pass (J7)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#no-SingleUseConsts-mir-pass: [missing] -> pass (J7)

Additionally, 30 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 daa90b96dd039ce0c5708408972e2af45990c1db --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-aarch64-apple: 6045.6s -> 8410.2s (+39.1%)
  2. x86_64-gnu-llvm-20-1: 3768.8s -> 4423.3s (+17.4%)
  3. x86_64-rust-for-linux: 2672.6s -> 3131.6s (+17.2%)
  4. dist-apple-various: 5155.7s -> 4284.0s (-16.9%)
  5. aarch64-gnu-llvm-20-1: 3415.3s -> 3865.2s (+13.2%)
  6. i686-gnu-2: 5299.0s -> 5948.4s (+12.3%)
  7. pr-check-1: 1666.5s -> 1863.2s (+11.8%)
  8. x86_64-gnu-tools: 3388.3s -> 3786.9s (+11.8%)
  9. i686-gnu-1: 7437.0s -> 8285.9s (+11.4%)
  10. x86_64-gnu-llvm-21-1: 4105.9s -> 4508.2s (+9.8%)
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 (daa90b9): 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.

mean range count
Regressions ❌
(primary)
0.2% [0.2%, 0.2%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.2% [0.2%, 0.2%] 1

Max RSS (memory usage)

Results (primary 0.5%)

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

mean range count
Regressions ❌
(primary)
2.7% [2.7%, 2.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.7% [-1.7%, -1.7%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.5% [-1.7%, 2.7%] 2

Cycles

Results (primary 2.1%)

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.0%, 2.3%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.1% [2.0%, 2.3%] 2

Binary size

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

Bootstrap: 474.946s -> 470.203s (-1.00%)
Artifact size: 383.21 MiB -> 383.19 MiB (-0.01%)

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

Labels

A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt 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