File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1972,7 +1972,8 @@ impl<A, V: FromIterator<A>> FromIterator<Option<A>> for Option<V> {
1972
1972
}
1973
1973
1974
1974
#[ unstable( feature = "try_trait_v2" , issue = "84277" ) ]
1975
- impl < T > ops:: TryV2 for Option < T > {
1975
+ #[ rustc_const_unstable( feature = "const_identity_convert" , issue = "none" ) ]
1976
+ impl < T > const ops:: TryV2 for Option < T > {
1976
1977
type Output = T ;
1977
1978
type Residual = Option < convert:: Infallible > ;
1978
1979
@@ -1991,7 +1992,8 @@ impl<T> ops::TryV2 for Option<T> {
1991
1992
}
1992
1993
1993
1994
#[ unstable( feature = "try_trait_v2" , issue = "84277" ) ]
1994
- impl < T > ops:: FromResidual for Option < T > {
1995
+ #[ rustc_const_unstable( feature = "const_identity_convert" , issue = "none" ) ]
1996
+ impl < T > const ops:: FromResidual for Option < T > {
1995
1997
#[ inline]
1996
1998
fn from_residual ( residual : Option < convert:: Infallible > ) -> Self {
1997
1999
match residual {
You can’t perform that action at this time.
0 commit comments