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
15.9k
Star
119k
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
Introduce move expressions (
move($expr)
)
- #155023
#155023
Merged
rust-bors[bot]
merged 22 commits into
rust-lang:main
rust-lang/rust:main
from
TaKO8Ki:move-expr-1
TaKO8Ki/rust:move-expr-1
Copy head branch name to clipboard
May 12, 2026
Conversation
Commits
22
(22)
Checks
Files changed
Merged
Introduce move expressions (
move($expr)
)
#155023
rust-bors[bot]
merged 22 commits into
rust-lang:main
rust-lang/rust:main
from
TaKO8Ki:move-expr-1
TaKO8Ki/rust:move-expr-1
Copy head branch name to clipboard
Commits
Commits on May 7, 2026
add move_expr feature flag
TaKO8Ki
committed
f62d536
View commit details
Copy full SHA for f62d536
Browse repository at this point
add move(expr) syntax
TaKO8Ki
committed
98348de
View commit details
Copy full SHA for 98348de
Browse repository at this point
lower move(expr) in plain closures
TaKO8Ki
committed
9abe21c
View commit details
Copy full SHA for 9abe21c
Browse repository at this point
force move(expr) captures to ByValue
TaKO8Ki
committed
0349562
View commit details
Copy full SHA for 0349562
Browse repository at this point
support `ast::ExprKind::Move` in clippy
TaKO8Ki
committed
7fb00e1
View commit details
Copy full SHA for 7fb00e1
Browse repository at this point
support `ast::ExprKind::Move` in rustfmt
TaKO8Ki
committed
fa70671
View commit details
Copy full SHA for fa70671
Browse repository at this point
fix tidy errors
Show description for 1c2edcc
TaKO8Ki
committed
1c2edcc
View commit details
Copy full SHA for 1c2edcc
Browse repository at this point
add ui tests for move expr
TaKO8Ki
committed
5ea6b0f
View commit details
Copy full SHA for 5ea6b0f
Browse repository at this point
use pre-expansion feature gate, `gate_all!` instead
TaKO8Ki
committed
ee5a270
View commit details
Copy full SHA for ee5a270
Browse repository at this point
use ExprUseVisitor delegate for explicit move captures
TaKO8Ki
committed
f848f32
View commit details
Copy full SHA for f848f32
Browse repository at this point
test multiple move expressions in one closure
TaKO8Ki
committed
cf937b8
View commit details
Copy full SHA for cf937b8
Browse repository at this point
add move expression parser ambiguity tests
TaKO8Ki
committed
aac8bd2
View commit details
Copy full SHA for aac8bd2
Browse repository at this point
document move expression lowering bindings
TaKO8Ki
committed
fc6f09e
View commit details
Copy full SHA for fc6f09e
Browse repository at this point
document move expression lowering and capture flow
Show description for 0158955
TaKO8Ki
committed
0158955
View commit details
Copy full SHA for 0158955
Browse repository at this point
use `HashStable` instead of `HashStable_Generic`
TaKO8Ki
committed
7a80a36
View commit details
Copy full SHA for 7a80a36
Browse repository at this point
collect move exprs during closure lowering
TaKO8Ki
committed
16a446e
View commit details
Copy full SHA for 16a446e
Browse repository at this point
Preserve const block HIR id order
TaKO8Ki
committed
24d5224
View commit details
Copy full SHA for 24d5224
Browse repository at this point
Commits on May 11, 2026
document move expression closure lowering
TaKO8Ki
committed
22d13e6
View commit details
Copy full SHA for 22d13e6
Browse repository at this point
split nested move expression coverage
TaKO8Ki
committed
ae79767
View commit details
Copy full SHA for ae79767
Browse repository at this point
extend nested closure move expression tests
TaKO8Ki
committed
632db42
View commit details
Copy full SHA for 632db42
Browse repository at this point
reject move expressions in async closures
TaKO8Ki
committed
cb384bf
View commit details
Copy full SHA for cb384bf
Browse repository at this point
move closure lowering into expr::closure
TaKO8Ki
committed
ec2eaff
View commit details
Copy full SHA for ec2eaff
Browse repository at this point
You can’t perform that action at this time.