Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark 2203 as mostly superceeded by 2920 #3073

Merged
merged 1 commit into from
Feb 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions text/2203-const-repeat-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
- RFC PR: [rust-lang/rfcs#2203](https://github.com/rust-lang/rfcs/pull/2203)
- Rust Issue: [rust-lang/rust#49147](https://github.com/rust-lang/rust/issues/49147)

> ⚠ This RFC has mostly been superceeded ⚠
>
> 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.
>
> However, the simpler case of `[SOME_CONST_ITEM; N]` was kept (stabilized in [rust-lang/rust#49147]).

[RFC 2920]: https://github.com/rust-lang/rfcs/blob/master/text/2920-inline-const.md
[rust-lang/rust#49147]: https://github.com/rust-lang/rust/issues/49147

# Summary
[summary]: #summary

Expand Down