File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2010,7 +2010,8 @@ impl<A, V: FromIterator<A>> FromIterator<Option<A>> for Option<V> {
2010
2010
}
2011
2011
2012
2012
#[ unstable( feature = "try_trait_v2" , issue = "84277" ) ]
2013
- impl < T > ops:: Try for Option < T > {
2013
+ #[ rustc_const_unstable( feature = "const_convert" , issue = "none" ) ]
2014
+ impl < T > const ops:: Try for Option < T > {
2014
2015
type Output = T ;
2015
2016
type Residual = Option < convert:: Infallible > ;
2016
2017
@@ -2029,7 +2030,8 @@ impl<T> ops::Try for Option<T> {
2029
2030
}
2030
2031
2031
2032
#[ unstable( feature = "try_trait_v2" , issue = "84277" ) ]
2032
- impl < T > ops:: FromResidual for Option < T > {
2033
+ #[ rustc_const_unstable( feature = "const_convert" , issue = "none" ) ]
2034
+ impl < T > const ops:: FromResidual for Option < T > {
2033
2035
#[ inline]
2034
2036
fn from_residual ( residual : Option < convert:: Infallible > ) -> Self {
2035
2037
match residual {
You can’t perform that action at this time.
0 commit comments