Skip to content

Conversation

@nxsaken
Copy link
Contributor

@nxsaken nxsaken commented Oct 29, 2025

This PR constifies some of the methods on ControlFlow. There's no tracking issue for this.

#148285 constifies the rest of the methods involving const_trait_impl.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 29, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 29, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
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

@workingjubilee
Copy link
Member

Note that some of the constifications touch #143874 -- let me know if I should split off the ones that don't.

Yes.

@nxsaken nxsaken force-pushed the const_control_flow branch from a706598 to c4f6f7a Compare October 30, 2025 10:01
@nxsaken nxsaken changed the title Constify ControlFlow methods Constify ControlFlow methods without unstable bounds Oct 30, 2025
@nxsaken
Copy link
Contributor Author

nxsaken commented Oct 30, 2025

Moved the const_trait_impl related const–ns to a separate PR: #148285. Should I give them separate feature flags and create tracking issues for each?

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library 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