Constify ControlFlow methods without unstable bounds#148248
Merged
bors merged 2 commits intorust-lang:masterfrom Nov 10, 2025
Merged
Constify ControlFlow methods without unstable bounds#148248bors merged 2 commits intorust-lang:masterfrom
ControlFlow methods without unstable bounds#148248bors merged 2 commits intorust-lang:masterfrom
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use |
Member
Yes. |
a706598 to
c4f6f7a
Compare
ControlFlow methodsControlFlow methods without unstable bounds
Contributor
Author
|
Moved the |
Member
|
I think we usually have a tracking issue for this? Let's cut one, add it to the const unstable declarations, and then r=me on this. |
3 tasks
Contributor
Author
|
@Mark-Simulacrum done. I created separate issues for each PR to avoid headache with partial stabilization. |
Member
|
@bors r+ |
Collaborator
bors
added a commit
that referenced
this pull request
Nov 9, 2025
Rollup of 4 pull requests Successful merges: - #148248 (Constify `ControlFlow` methods without unstable bounds) - #148285 (Constify `ControlFlow` methods with unstable bounds) - #148510 (compiletest: Do the known-directives check only once, and improve its error message) - #148655 (Fix invalid macro tag generation for keywords which can be followed by values) r? `@ghost` `@rustbot` modify labels: rollup
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Nov 30, 2025
…-Simulacrum Constify `ControlFlow` methods without unstable bounds Feature: `min_const_control_flow` Tracking issue: rust-lang#148738 This PR constifies some of the methods on `ControlFlow`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature:
min_const_control_flowTracking issue: #148738
This PR constifies some of the methods on
ControlFlow.