Skip to content

Commit af25580

Browse files
committed
impl const Residual for ControlFlow
1 parent c7c14d4 commit af25580

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

library/core/src/ops/control_flow.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ impl<B, C> const ops::FromResidual<ControlFlow<B, convert::Infallible>> for Cont
134134
}
135135

136136
#[unstable(feature = "try_trait_v2_residual", issue = "91285")]
137-
impl<B, C> ops::Residual<C> for ControlFlow<B, convert::Infallible> {
137+
#[rustc_const_unstable(feature = "const_try_residual", issue = "91285")]
138+
impl<B, C> const ops::Residual<C> for ControlFlow<B, convert::Infallible> {
138139
type TryType = ControlFlow<B, C>;
139140
}
140141

0 commit comments

Comments
 (0)