1 # `const_in_array_repeat_expressions`
3 The tracking issue for this feature is: [#49147]
5 [#44109]: https://github.com/rust-lang/rust/issues/49147
7 ------------------------
9 Relaxes the rules for repeat expressions, `[x; N]` such that `x` may also be `const` (strictly
10 speaking rvalue promotable), in addition to `typeof(x): Copy`. The result of `[x; N]` where `x` is
11 `const` is itself also `const`.