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

Tracking Issue for Rust 2024: Reserve gen keyword #123904

Open
4 of 8 tasks
traviscross opened this issue Apr 13, 2024 · 3 comments
Open
4 of 8 tasks

Tracking Issue for Rust 2024: Reserve gen keyword #123904

traviscross opened this issue Apr 13, 2024 · 3 comments
Assignees
Labels
A-edition-2024 Area: The 2024 edition B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. F-gen_blocks `gen {}` expressions that produce `Iterator`s T-lang Relevant to the language team, which will review and decide on the PR/issue.

Comments

@traviscross
Copy link
Contributor

traviscross commented Apr 13, 2024

This is a tracking issue for reserving the gen keyword in Rust 2024 according to:

The feature gate for the issue is #![feature(gen_blocks)].

About tracking issues

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 about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

Related

Implementation history

cc @oli-obk @compiler-errors

@traviscross traviscross added B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. T-lang Relevant to the language team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. A-edition-2024 Area: The 2024 edition F-gen_blocks `gen {}` expressions that produce `Iterator`s labels Apr 13, 2024
@traviscross traviscross self-assigned this Apr 13, 2024
@oli-obk
Copy link
Contributor

oli-obk commented Apr 29, 2024

Does the gen_blocks feature need to be stabilized for the 2024? or is it fine to just stabilize the syntax in the parser?

nope, just syntax is fine, all that is needed to fix this issue is writing documentation

@jhpratt
Copy link
Member

jhpratt commented May 7, 2024

Minor bug in the lint: #124862

@zachgrayio
Copy link

what will it take to support this in rust-analyzer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-edition-2024 Area: The 2024 edition B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. F-gen_blocks `gen {}` expressions that produce `Iterator`s T-lang Relevant to the language team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants