Skip to content

Rollup of 8 pull requests - #166456

Merged
rust-bors[bot] merged 17 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-0ZiLBLB
Nov 24, 2026
Merged

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

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

folkertdev and others added 17 commits November 15, 2026 23:51
- keep doing when finding a return expression; there might be nested early returns.
- keep track of blocks/loops in tail position: a break to them is effectively a return
We no longer use AWS CodeBuild for our jobs, so delete or rephrase code
that referred to it.
…ysis

* Add post-analysis `TypingEnv` constructors explicit about rigid aliases
* Use `post_analysis_no_rigid_aliases` at the existing `post_analysis` call sites
* Rename interner `TypingEnv::post_analysis` to `post_analysis_no_rigid_aliases`
* Use `post_analysis_invalidating_rigid_aliases` for drop shims
* Remove `TypingEnv::post_analysis`
some architectures abi require 32 bit types to be extended to 64 bit.
…szelmann

[PERF] Inline some attribute parsing code
…hanBrouwer

make `ReturnsVisitor` more accurate

I want to use this visitor for rust-lang#147697, but it currently has some inaccuracies, so:

- keep going when finding a return expression; there might be nested early returns.
- just also look in the `if` condition and `match` scrutinee.
- keep track of blocks/loops in tail position: a break to them is effectively a return

The diff is kind of a mess, it's probably easier to just look at the after version for the logic. The second commit does show the improvement in error messages nicely.
Abby: move span out of leaf region constraint

This makes it easier to deduplicate leafs and allows us to add more fields like `VisibleForLeakCheck`.

cc rust-lang/project-assumptions-on-binders#30

The actual commit is the last one. The others are part of stacked PRs awaiting separate approval.

r? khyperia
…nv-post-analysis, r=adwinwhite

Make rigid alias invalidation explicit when transitioning to PostAnalysis

We have a few places where we change the typing mode without invalidating rigid aliases, resulting in unexpected ICEs. To make this less error-prone, this PR introduces two constructors for PostAnalysis, one with and one without rigid alias invalidation. This makes the guarantees explicit at the call site and keeps the reasoning local.

More info here: [#t-types/call-for-participation > invalidate rigid aliases when constructing typing envs](https://rust-lang.zulipchat.com/#narrow/channel/618216-t-types.2Fcall-for-participation/topic/invalidate.20rigid.20aliases.20when.20constructing.20typing.20envs/with/640681389)

r? @adwinwhite
…r=Kobzol

Drop references to codebuild

We no longer use AWS CodeBuild for our jobs, so delete or rephrase code that referred to it.
Add safety section for intrinsic volatile operations

This PR adds safety section for volatile operations in `intrinsics/mod.rs`. I find that these apis lack safety comments. I refer to the format of `volatile_copy_nonoverlapping_memory` and `size_of_val`.

For `volatile_copy_memory`, I think this api should follow the safety requirement of `ptr::copy`.

For `unaligned_volatile_load(store)`, I add the text that they should refer to `read(write)_voaltile` but don't need to follow the align requirement.

Thank you for your suggestion.
…nna-kruppe

remove some incorrect docs from volatile intrinsics

The contract of volatile reads/writes has evolved quite a bit, making this here outdated.

We can work out the exact contract for these intrinsics when they are actually used anywhere. Currently they are just experimental stubs.
fix test enum-repr-abi

some architectures abi require 32 bit types to be extended to 64 bit.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 24, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 24, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 3f3c93a 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 24, 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 24, 2026
@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 17m 40s
Pushing cc43a03 to main...

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

Test differences

Show 102 test diffs

102 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard cc43a03f1bf67e51cb6193cca9de1606a7100647 --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-gnu-llvm-22: 54m 42s -> (-100.0%)
  2. test-x86_64-gnu-miri: 1h 32m -> (-100.0%)
  3. test-aarch64-apple-macos-26-1: 2h 25m -> (-100.0%)
  4. test-various: 1h 33m -> (-100.0%)
  5. test-x86_64-gnu-parallel-frontend: 1h 49m -> (-100.0%)
  6. dist-x86_64-freebsd: 1h 29m -> (-100.0%)
  7. test-i686-gnu-nopt-2: 1h 46m -> (-100.0%)
  8. dist-powerpc64le-linux-musl: 1h 36m -> (-100.0%)
  9. dist-x86_64-solaris: 1h 6m -> (-100.0%)
  10. dist-i686-msvc: 50m 27s -> (-100.0%)
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.

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. 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.

9 participants