1 Control-flow expressions are not allowed inside a const context.
3 At the moment, `if` and `match`, as well as the looping constructs `for`,
4 `while`, and `loop`, are forbidden inside a `const`, `static`, or `const fn`.
19 This will be allowed at some point in the future, but the implementation is not
20 yet complete. See the tracking issue for [conditionals] or [loops] in a const
21 context for the current status.
23 [conditionals]: https://github.com/rust-lang/rust/issues/49146
24 [loops]: https://github.com/rust-lang/rust/issues/52000