Skip to content

Tracking Issue for #![feature(control_flow_ok)] #140266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
jogru0 opened this issue Apr 24, 2025 · 1 comment
Open
3 tasks

Tracking Issue for #![feature(control_flow_ok)] #140266

jogru0 opened this issue Apr 24, 2025 · 1 comment
Assignees
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@jogru0
Copy link
Contributor

jogru0 commented Apr 24, 2025

Feature gate: #![feature(control_flow_ok)]

This is a tracking issue for ControlFlow::continue_ok and ControlFlow::break_ok, as proposed in rust-lang/libs-team#444.

(The other part of this ACP was already implemented in #137449.)

Public API

impl<B, C> ControlFlow<B, C> { 
    continue_ok(self) -> Result<C, B>;
    break_ok(self) -> Result<B, C>;
}

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@jogru0 jogru0 added C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Apr 24, 2025
@jogru0 jogru0 changed the title Tracking Issue for XXX Tracking Issue for #![feature(control_flow_ok)] Apr 24, 2025
@jogru0
Copy link
Contributor Author

jogru0 commented Apr 24, 2025

@rustbot claim

@jogru0 jogru0 changed the title Tracking Issue for #![feature(control_flow_ok)] Tracking Issue for #![feature(control_flow_ok)] Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC S-tracking-unimplemented Status: The feature has not been implemented. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant