Open
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 Deprecated tracking issue for closed RFC 2632,impl const Trait for Ty
and~const
(tilde const) syntax (const_trait_impl
) #67792 - implement
const Try
forResult
andOption
in libstd - users need to implement
const Into
for their error types- Since we have an
impl<T> From<T> for T
, we have to make this a const impl, too, as well as theimpl<T: From<U>, U> Into<T> for U
impl
- Since we have an