Repository navigation
Open
Labels
B-MCP-approvedBlocker: Approved by an accepted MCP but not yet fully implemented.Blocker: Approved by an accepted MCP but not yet fully implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-perma-unstableStatus: The feature will stay unstable indefinitely.Status: The feature will stay unstable indefinitely.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
This is a tracking issue for MCP "Parse unstable keywords for experimental syntax" (rust-lang/compiler-team#945).
Note
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports.
Instead, open a dedicated issue for the specific matter, link to this tracking issue and ping the MCP author.
Alternatively, post in the Zulip stream linked from the MCP.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Implement the MCP
- Replace
builtin # …(…)(gated behindbuiltin_syntax, Tracking issue for internal syntax #110680) withk#…(…)(gated behindinternal_syntax&forced_keywords): Replacebuiltin #withk##162232 - Parse
k#gen { … }as gen block in Rust 2021 (don't forget to makerustfmtaware of this, too!) - Migrate various built-in macros to internal syntax where appropriate (strictly speaking, this step belongs to Tracking issue for internal syntax #110680 where it's already listed)
- Adjust documentation
- In the Rust Compiler Development Guide if applicable (e.g., for refactorings)
- Add a tutorial section somewhere teaching the reader how to introduce "experimental keywords" (e.g.
is,only,own) without breaking the world usingforced_keywords
- Add a tutorial section somewhere teaching the reader how to introduce "experimental keywords" (e.g.
- In the Rust Forge if applicable (e.g., for policy changes)
- In the rustc book if applicable (e.g., for target tier or CLI changes)
- In the Rust Compiler Development Guide if applicable (e.g., for refactorings)
Unresolved questions
None so far.
Implementation history
Reacted by Ruby Lazuli
Metadata
Metadata
Labels
B-MCP-approvedBlocker: Approved by an accepted MCP but not yet fully implemented.Blocker: Approved by an accepted MCP but not yet fully implemented.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-perma-unstableStatus: The feature will stay unstable indefinitely.Status: The feature will stay unstable indefinitely.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Activity
Auto merge of #161775 - fmease:kay-hash, r=petrochenkov
Auto merge of #161775 - fmease:kay-hash, r=petrochenkov
Auto merge of #161775 - fmease:kay-hash, r=petrochenkov
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
test(rustfmt): specify edition 2021 for test involving `forced_keywords`
test(rustfmt): specify edition 2021 for test involving `forced_keywords`
test(rustfmt): specify edition 2021 for test involving `forced_keywords`
Rollup merge of rust-lang#162232 - fmease:yeet-builtin-hash, r=JohnTitor
Unrolled build for #162232 in rollup 165436