-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking issue for ? operator (RFC 243, question_mark) #31436
Copy link
Copy link
Closed
Labels
A-error-handlingArea: Error handlingArea: Error handlingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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 RFCF-try_blocks`#![feature(try_blocks)]``#![feature(try_blocks)]`Libs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.S-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.T-langRelevant to the language teamRelevant to the language teamT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-error-handlingArea: Error handlingArea: Error handlingB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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 RFCF-try_blocks`#![feature(try_blocks)]``#![feature(try_blocks)]`Libs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.S-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.T-langRelevant to the language teamRelevant to the language teamT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
View all comments
Tracking issue for rust-lang/rfcs#243 and rust-lang/rfcs#1859.
See also the related tracking issue for
try_trait_v2, #84277 (rust-lang/rfcs#3058)"Try Blocks" (
try { ... }) were previously tracked here, but moved to #154391For heterogeneous
try bikeshed MyTypeblocks, see #149488Implementation concerns:
?operator that is roughly equivalent totry!- implement the?operator #31954try { ... }expression - implementcatchexpressions #39849do catch { ... }syntax questiontry { .. }, - Tracking issue for RFC 2388, reserve thetrykeyword and resolvedo catch { .. }syntax question withtry { .. }#50412catchblocks are notOk-wrapping their value #41414, now being settled anew in ResolvingOk-wrapping fortryblocks #70941)ExprWithBlock, so works in a match arm without a commatryblocks #148968try { expr? }?currently requires an explicit type annotation somewhere).tryblock desugaring #148725homogeneous_try_blocksRFC rfcs#3721Trytrait (extend?to operate over other types rfcs#1859)Trytrait (in place ofCarrier) and convert?to use it (Lower?toTryinstead ofCarrier#42275)Optionand so forth, and a suitable family of tests (Impl Try for Option #42526)?error messages per RFC 1859 #35946)tryin new editiontry{}catch(or other following idents) to leave design space open for the future, and point people to how to do what they want withmatchinstead