Skip to content

Commit 490c160

Browse files
committed
Mark 2203 as mostly superceeded by 2920
1 parent aa905d7 commit 490c160

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

text/2203-const-repeat-expr.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
- RFC PR: [rust-lang/rfcs#2203](https://github.com/rust-lang/rfcs/pull/2203)
44
- Rust Issue: [rust-lang/rust#49147](https://github.com/rust-lang/rust/issues/49147)
55

6+
> ⚠ This RFC has mostly been superceeded ⚠
7+
>
8+
> This turned out to be more complicated than expected to detect while being intuitive to the programmer. As such, it's expected that this problem space will be addressed with the *inline consts* from [RFC 2920] instead, which have syntax to opt-in to the behaviour.
9+
>
10+
> However, the simpler case of `[SOME_CONST_ITEM; N]` was kept (stabilized in [rust-lang/rust#49147]).
11+
12+
[RFC 2920]: https://github.com/rust-lang/rfcs/blob/master/text/2920-inline-const.md
13+
[rust-lang/rust#49147]: https://github.com/rust-lang/rust/issues/49147
14+
615
# Summary
716
[summary]: #summary
817

0 commit comments

Comments
 (0)