Skip to content

Remove fn terminator() and terminator_mut() - #166631

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
Jules-Bertholet:no-terminator-fn
Nov 27, 2026
Merged

rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
Jules-Bertholet:no-terminator-fn

Conversation

@Jules-Bertholet

Copy link
Copy Markdown
Contributor

Follow-up to @panstromek's work to remove the Option here.

@rustbot

rustbot commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

miri is developed in its own repository. If the Miri part of this change can be broken out, consider making this change to rust-lang/miri instead. However, if Miri needs adjusting for rustc changes, just ignore this message.

cc @rust-lang/miri

Some changes occurred to the CTFE machinery

cc @RalfJung, @oli-obk, @lcnr

This PR changes rustc_public

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

Some changes occurred in coverage instrumentation.

cc @Zalathar

rustc_codegen_cranelift is developed in its own repository. If possible, consider making this change to rust-lang/rustc_codegen_cranelift instead.

cc @bjorn3

The rustc-dev-guide subtree was changed. If your future PRs only touch the subtree, consider submitting them directly to rust-lang/rustc-dev-guide, which is where the document is primarily maintained (and has faster CI).

cc @BoxyUwU, @tshepang

Some changes occurred to constck

cc @fee1-dead

clippy is developed in its own repository. If possible, consider making this change to rust-lang/rust-clippy instead.

cc @rust-lang/clippy

@rustbot rustbot added A-rustc-dev-guide Area: rustc-dev-guide 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. labels Nov 26, 2026
@rustbot

rustbot commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler, mir, mir-opt
  • compiler, mir, mir-opt expanded to 79 candidates
  • Random selection from 21 candidates

@rust-log-analyzer

This comment has been minimized.

@Jules-Bertholet
Jules-Bertholet force-pushed the no-terminator-fn branch 2 times, most recently from b0174f9 to 66c551b Compare November 26, 2026 23:54
@nnethercote

Copy link
Copy Markdown
Contributor

@bors r+

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 66c551b has been approved by nnethercote

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. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 27, 2026
@rust-bors

This comment has been minimized.

@nnethercote

Copy link
Copy Markdown
Contributor

@bors delegate=Jules-Bertholet

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

✌️ @Jules-Bertholet, you can now approve this pull request!

If @nnethercote told you to "r=me" after making some further change, then please make that change and post @bors r=nnethercote.

View changes since this delegation.

@rustbot

rustbot commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

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.

@Jules-Bertholet

Copy link
Copy Markdown
Contributor Author

@bors r=nnethercote

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 82b7330 has been tentatively approved by nnethercote

It will be put into the queue for this repository once PR CI succeeds.

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 27, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
…uwer

Rollup of 9 pull requests

Successful merges:

 - #163895 (Stabilize `--remap-path-scope` in rustdoc and the `documentation` scope)
 - #163910 (debugger: stabilize trim-paths unremap file loading)
 - #166377 (fix: ignore format literal source availability in stable hashes)
 - #166510 (add c-variadic support for `x87_f80`)
 - #166631 (Remove `fn terminator()` and `terminator_mut()`)
 - #166650 (Don't round the number of bits passed to `{Size,Align}::from_bits`)
 - #161531 (Remove `T: Send + Sync` bound from `Arc::downcast`)
 - #166641 (fix: bootstrap build directory handling with --set)
 - #166655 (Submodule update of rustc-perf)
@rust-bors
rust-bors Bot merged commit 0cef8df into rust-lang:main Nov 27, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 27, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
Rollup merge of #166631 - Jules-Bertholet:no-terminator-fn, r=nnethercote

Remove `fn terminator()` and `terminator_mut()`

Follow-up to @panstromek's work to remove the `Option` here.
@Jules-Bertholet
Jules-Bertholet deleted the no-terminator-fn branch November 27, 2026 22:46
mehmettoplu-rs pushed a commit to mehmettoplu-rs/miri that referenced this pull request Nov 28, 2026
…uwer

Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#163895 (Stabilize `--remap-path-scope` in rustdoc and the `documentation` scope)
 - rust-lang/rust#163910 (debugger: stabilize trim-paths unremap file loading)
 - rust-lang/rust#166377 (fix: ignore format literal source availability in stable hashes)
 - rust-lang/rust#166510 (add c-variadic support for `x87_f80`)
 - rust-lang/rust#166631 (Remove `fn terminator()` and `terminator_mut()`)
 - rust-lang/rust#166650 (Don't round the number of bits passed to `{Size,Align}::from_bits`)
 - rust-lang/rust#161531 (Remove `T: Send + Sync` bound from `Arc::downcast`)
 - rust-lang/rust#166641 (fix: bootstrap build directory handling with --set)
 - rust-lang/rust#166655 (Submodule update of rustc-perf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-clippy Relevant to the Clippy team. 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.

4 participants