Skip to content

Stabilize Option::unwrap_none and Option::expect_none - #77326

Closed
Aaron1011 wants to merge 1 commit into
rust-lang:masterfrom
Aaron1011:stabilize-option-none
Closed

Stabilize Option::unwrap_none and Option::expect_none#77326
Aaron1011 wants to merge 1 commit into
rust-lang:masterfrom
Aaron1011:stabilize-option-none

Conversation

@Aaron1011

Copy link
Copy Markdown
Contributor

cc #62633

These methods have been on nightly for over a year without any issues.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 29, 2020
cc rust-lang#62633
These methods have been on nightly for over a year without any issues.
@jyn514jyn514 added the T-libs-api [DEPRECATED; DO NOT USE] label Sep 29, 2020
@jonas-schievinkjonas-schievink added the relnotes Marks issues that should be documented in the release notes of the next release. label Sep 29, 2020
@cuviper

Copy link
Copy Markdown
Member

I'm in favor, but there was some debate in #73077.

@Aaron1011

Copy link
Copy Markdown
ContributorAuthor

I somehow missed that other PR when I read through the tracking issue.

@scottmcmscottmcm added the needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. label Oct 2, 2020
@LeSeulArtichautLeSeulArtichaut added S-waiting-on-team and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 16, 2020
@poliorcetics

Copy link
Copy Markdown
Contributor

I really don’t like those methods over assert(_...)! macros. Maybe I just never encountered the cases when this becomes heavy to write but those methods just look like bloat to me.

@bors

bors commented Jan 26, 2021

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #81417) made this pull request unmergeable. Please resolve the merge conflicts.

@m-ou-se

Copy link
Copy Markdown
Member

Closing this because of #62633 (comment).

(Not closing the tracking issue yet. More discussion is still welcome there.

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

Labels

needs-fcpThis change is insta-stable, or significant enough to need a team FCP to proceed.relnotesMarks issues that should be documented in the release notes of the next release.T-libs-api[DEPRECATED; DO NOT USE]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@Aaron1011@rust-highfive@cuviper@poliorcetics@bors@m-ou-se@crlf0710@sfackler@jonas-schievink@scottmcm@jyn514@LeSeulArtichaut