Repository navigation
Tracking Issue for const_option_ops #143956
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
- addedT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.
on Jul 15, 2025 - added 3 commits that reference this issue
on Jul 18, 2025 - added a commit that references this issue
on Jul 18, 2025 - added a commit that references this issue
on Dec 21, 2025 - added a commit that references this issue
on Dec 29, 2025 - addedT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.and removedT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
on Aug 12, 2026 I think this issue needs updating, what has been implemented, what hasn't been? What's blocking stabilization for the stuff that has been implemented? I just realized
unwrap_orwasn'tconsttoday and it kind of baffles me with how simple it is.@orlp Maybe it's something to do with
const_destructstill being unstable?I'd very much like to see
Option::mapconst-stable as well ^^;@AverageHelper Yes, you're right, that explains
unwrap_or.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Feature gate:
#![feature(const_option_ops)]This is a tracking issue for const methods on
Optionthat require~const FnboundsPublic API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩