Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
17.8k
Star
120k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Implement
gen
blocks in the 2024 edition
- #116447
#116447
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:gen_fn
oli-obk/rust:gen_fn
Copy head branch name to clipboard
Oct 29, 2023
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Implement
gen
blocks in the 2024 edition
#116447
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:gen_fn
oli-obk/rust:gen_fn
Copy head branch name to clipboard
Commits
Commits on Oct 26, 2023
Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 edition
oli-obk
committed
a61cf67
View commit details
Copy full SHA for a61cf67
Browse repository at this point
Add hir::GeneratorKind::Gen
oli-obk
committed
1442308
View commit details
Copy full SHA for 1442308
Browse repository at this point
Commits on Oct 27, 2023
Add gen blocks to ast and do some broken ast lowering
oli-obk
committed
6214943
View commit details
Copy full SHA for 6214943
Browse repository at this point
Make `gen` blocks implement the `Iterator` trait
oli-obk
committed
998a816
View commit details
Copy full SHA for 998a816
Browse repository at this point
Basic generators work
oli-obk
committed
c892b28
View commit details
Copy full SHA for c892b28
Browse repository at this point
Feature gate `gen` blocks, even in 2024 edition
oli-obk
committed
638d2d6
View commit details
Copy full SHA for 638d2d6
Browse repository at this point
Demonstrate issue with `yield` checks
oli-obk
committed
2e5b367
View commit details
Copy full SHA for 2e5b367
Browse repository at this point
Feature gate coroutine `yield` usage
oli-obk
committed
cece90c
View commit details
Copy full SHA for cece90c
Browse repository at this point
Handle `move` generators
oli-obk
committed
4ac25fa
View commit details
Copy full SHA for 4ac25fa
Browse repository at this point
Prevent generators from being movable
oli-obk
committed
6223744
View commit details
Copy full SHA for 6223744
Browse repository at this point
Use targetted diagnostic for borrow across yield error
oli-obk
committed
bb90c4b
View commit details
Copy full SHA for bb90c4b
Browse repository at this point
Rename `RibKind::ClosureOrAsync` to reflect how it is actually used
oli-obk
committed
b8bfd08
View commit details
Copy full SHA for b8bfd08
Browse repository at this point
Fuse `gen` blocks
oli-obk
committed
eb66d10
View commit details
Copy full SHA for eb66d10
Browse repository at this point
You can’t perform that action at this time.