-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for the use of ? in constants #74935
Copy link
Copy link
Open
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)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 RFC
Metadata
Metadata
Assignees
Labels
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)Area: Constant evaluation, covers all const contexts (static, const fn, ...)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 RFC
Type
Fields
Give feedbackNo fields configured for issues without a type.
The
?operator expands to invokingTry::into_resultfor the argument andInto::intofor the error of the result. In order to support these, we need toimpl constand~constin the standard library #110395impl const Trait for Typeitems Tracking Issue for RFC 3762, "Make trait methods callable in const contexts" #143874const TryforResultandOptionin libstd Constify Try, From, TryFrom and relevant traits #143768