diff options
| author | onestacked <chrisi.schrefl@gmail.com> | 2022-09-23 20:17:31 +0200 |
|---|---|---|
| committer | onestacked <chrisi.schrefl@gmail.com> | 2022-09-23 20:17:31 +0200 |
| commit | 84666afb36365c3dafe0acfdcd17ea177f58af19 (patch) | |
| tree | 19457657de0a1bc38a4af6fc494bffec27934d71 /library/core/src/ops | |
| parent | d78bc41785aaa5be7eff96b100268d3c5daa5401 (diff) | |
Constify Residual behind const_try
Diffstat (limited to 'library/core/src/ops')
| -rw-r--r-- | library/core/src/ops/control_flow.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ops/control_flow.rs b/library/core/src/ops/control_flow.rs index 8d236a9feca..72ebe653caf 100644 --- a/library/core/src/ops/control_flow.rs +++ b/library/core/src/ops/control_flow.rs @@ -126,6 +126,7 @@ impl<B, C> const ops::FromResidual for ControlFlow<B, C> { } #[unstable(feature = "try_trait_v2_residual", issue = "91285")] +#[rustc_const_unstable(feature = "const_try", issue = "74935")] impl<B, C> const ops::Residual<C> for ControlFlow<B, convert::Infallible> { type TryType = ControlFlow<B, C>; } |
