-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Deprecate the unstable concat_idents!
#137653
base: master
Are you sure you want to change the base?
Conversation
r? @nnethercote rustbot has assigned @nnethercote. Use |
r? libs-api |
`concat_idents` has been around unstably for a long time, but there is now a better (but still unstable) way to join identifiers using `${concat(...)}` syntax with `macro_metavar_expr_concat`. This resolves a lot of the problems with `concat_idents` and is on a better track toward stabilization, so there is no need to keep both versions around. `concat_idents!` still has a lot of use in the ecosystem so deprecate it before removing, as discussed in [1]. Link: rust-lang#124225 [1]: https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/Removing.20.60concat_idents.60
concat_idents!
concat_idents!
ecac1cc
to
4f7ea23
Compare
I'd like to propose deprecating it now (1.87) and removing in the next version (1.88), nominating for libs-api. Cc @rust-lang/lang since this is tightly coupled. |
Let's just FCP it. That's maybe weird for an unstable thing, but no more weird than doing a deprecation cycle for it. @rfcbot fcp merge |
Team member @traviscross has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
@rfcbot reviewed |
All reactions
Sorry, something went wrong.
👍 for deprecating I saw that @tgross35 proposed rust-lang/rfcs#3649 to supersede the |
All reactions
Sorry, something went wrong.
That's correct; I think |
All reactions
-
👍 1 reaction
Sorry, something went wrong.
@rustbot labels -I-lang-nominated We discussed this in the lang call today. Thanks @tgross35 for pushing this forward. As above, the one question that came up was whether this was related to our open question: But it's not, as |
All reactions
-
👍 1 reaction
Sorry, something went wrong.
🔔 This is now entering its final comment period, as per the review above. 🔔 |
All reactions
Sorry, something went wrong.
Successfully merging this pull request may close these issues.
None yet
concat_idents
has been around unstably for a long time, but there is now a better (but still unstable) way to join identifiers using${concat(...)}
syntax withmacro_metavar_expr_concat
. This resolves a lot of the problems withconcat_idents
and is on a better track toward stabilization, so there is no need to keep both versions around.concat_idents!
still has a lot of use in the ecosystem so deprecate it before removing, as discussed in 1.Link: #124225