-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Description
The ?
operator expands to invoking Try::into_result
for the argument and Into::into
for the error of the result. In order to support these, we need to
- Figure out traits-in-const: Tracking Issue for removing
impl const
and~const
in the standard library #110395 - stabilize
impl const Trait for Type
items Tracking Issue for RFC 3762, "Make trait methods callable in const contexts" #143874 - implement
const Try
forResult
andOption
in libstd Constify Try, From, TryFrom and relevant traits #143768
mpfaff, bobbbay, ssg, joseluis, jwodder and 10 morebjoernager and Farossco
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