Skip to content

Move rustc_middle::mir::mono to rustc_middle::mono#154627

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
nnethercote:mv-rustc_middle-mir-mono
Apr 7, 2026
Merged

Move rustc_middle::mir::mono to rustc_middle::mono#154627
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
nnethercote:mv-rustc_middle-mir-mono

Conversation

@nnethercote
Copy link
Copy Markdown
Contributor

Because the things in this module aren't MIR and don't use anything from rustc_middle::mir. Also, modules that use mono often don't use anything else from rustc_middle::mir.

r? @saethlin

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 31, 2026

Some changes occurred in coverage instrumentation.

cc @Zalathar

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

This PR changes rustc_public

cc @oli-obk, @celinval, @ouz-a, @makai410

@rustbot rustbot added the A-attributes Area: Attributes (`#[…]`, `#![…]`) label Mar 31, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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 Mar 31, 2026
@rust-bors

This comment has been minimized.

@saethlin
Copy link
Copy Markdown
Member

saethlin commented Apr 6, 2026

Whoops I must have mindlessly dismissed this notification when it first came in.

r=me

Because the things in this module aren't MIR and don't use anything
from `rustc_middle::mir`. Also, modules that use `mono` often don't use
anything else from `rustc_middle::mir`.
@nnethercote nnethercote force-pushed the mv-rustc_middle-mir-mono branch from dccbc8b to 3ff4201 Compare April 6, 2026 22:34
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 6, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@nnethercote
Copy link
Copy Markdown
Contributor Author

I rebased.

@bors r=saethlin

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 6, 2026

📌 Commit 3ff4201 has been approved by saethlin

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 Apr 6, 2026
rust-bors bot pushed a commit that referenced this pull request Apr 7, 2026
Rollup of 6 pull requests

Successful merges:

 - #154627 (Move `rustc_middle::mir::mono` to `rustc_middle::mono`)
 - #154729 (de-non_const some `Iterator` methods)
 - #154891 (implement `StructuralPartialEq` for `MaybeDangling`)
 - #154894 (Slightly refactor mplace<->ptr conversions)
 - #154751 (compiletest: Remove `rfail` support from incremental tests)
 - #154901 (Update books)
@rust-bors rust-bors bot merged commit b19364c into rust-lang:main Apr 7, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Apr 7, 2026
rust-timer added a commit that referenced this pull request Apr 7, 2026
Rollup merge of #154627 - nnethercote:mv-rustc_middle-mir-mono, r=saethlin

Move `rustc_middle::mir::mono` to `rustc_middle::mono`

Because the things in this module aren't MIR and don't use anything from `rustc_middle::mir`. Also, modules that use `mono` often don't use anything else from `rustc_middle::mir`.

r? @saethlin
@nnethercote nnethercote deleted the mv-rustc_middle-mir-mono branch April 8, 2026 04:13
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Apr 8, 2026
Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#154627 (Move `rustc_middle::mir::mono` to `rustc_middle::mono`)
 - rust-lang/rust#154729 (de-non_const some `Iterator` methods)
 - rust-lang/rust#154891 (implement `StructuralPartialEq` for `MaybeDangling`)
 - rust-lang/rust#154894 (Slightly refactor mplace<->ptr conversions)
 - rust-lang/rust#154751 (compiletest: Remove `rfail` support from incremental tests)
 - rust-lang/rust#154901 (Update books)
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Apr 8, 2026
Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#154627 (Move `rustc_middle::mir::mono` to `rustc_middle::mono`)
 - rust-lang/rust#154729 (de-non_const some `Iterator` methods)
 - rust-lang/rust#154891 (implement `StructuralPartialEq` for `MaybeDangling`)
 - rust-lang/rust#154894 (Slightly refactor mplace<->ptr conversions)
 - rust-lang/rust#154751 (compiletest: Remove `rfail` support from incremental tests)
 - rust-lang/rust#154901 (Update books)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

3 participants