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
/
rustfmt
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.1k
Star
7k
Code
Issues
723
Pull requests
216
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
subtree-push nightly-2026-08-11
- #7026
#7026
Closed
ytmimi
wants to merge 20 commits into
rust-lang:main
rust-lang/rustfmt:main
from
ytmimi:subtree-push-nightly-2026-08-11
ytmimi/rustfmt:subtree-push-nightly-2026-08-11
Copy head branch name to clipboard
Conversation
Commits
20
(20)
Checks
Files changed
Closed
subtree-push nightly-2026-08-11
#7026
ytmimi
wants to merge 20 commits into
rust-lang:main
rust-lang/rustfmt:main
from
ytmimi:subtree-push-nightly-2026-08-11
ytmimi/rustfmt:subtree-push-nightly-2026-08-11
Copy head branch name to clipboard
Commits
Commits on Jun 26, 2026
rustfmt: Discover modules via `cfg_select!`
mkroening
committed
385dbfe
View commit details
Copy full SHA for 385dbfe
Browse repository at this point
Commits on Jul 21, 2026
Merge commit 'd427a7c1adc8afd86a7ebf3daec769a434cb2307' into rustfmt-subtree-update
jieyouxu
committed
2aeef85
View commit details
Copy full SHA for 2aeef85
Browse repository at this point
Commits on Jul 22, 2026
unify the AST repr of type const and const RHS
khyperia
committed
a8307d5
View commit details
Copy full SHA for a8307d5
Browse repository at this point
Commits on Jul 23, 2026
Make FieldDef smaller
panstromek
committed
0c393d1
View commit details
Copy full SHA for 0c393d1
Browse repository at this point
rustfmt fix: ignore file not found errors for external mods with custom outer attributes
Show description for 9f6060f
ytmimi
committed
9f6060f
View commit details
Copy full SHA for 9f6060f
Browse repository at this point
Rollup merge of #159737 - ytmimi:rustfmt_issue_6959, r=petrochenkov
Show description for 7ec361d
jhpratt
authored
7ec361d
View commit details
Copy full SHA for 7ec361d
Browse repository at this point
Commits on Jul 24, 2026
Rollup merge of #158372 - mkroening:rustfmt-cfg_select-modules, r=ytmimi,jieyouxu
Show description for 80e7dbc
jhpratt
authored
80e7dbc
View commit details
Copy full SHA for 80e7dbc
Browse repository at this point
Commits on Jul 30, 2026
feat: parse `cfg_select!` within rustfmt
Show description for 9b49f71
ytmimi
committed
9b49f71
View commit details
Copy full SHA for 9b49f71
Browse repository at this point
chore: make `rewrite_match_body` `pub(crate)` within rustfmt
Show description for f6deac5
ytmimi
committed
f6deac5
View commit details
Copy full SHA for f6deac5
Browse repository at this point
feat: implement `cfg_select!` formatting in rustfmt
ytmimi
committed
b764bd3
View commit details
Copy full SHA for b764bd3
Browse repository at this point
test: Add more `cfg_select!` test cases based on the PR review feedback
ytmimi
committed
7005bdf
View commit details
Copy full SHA for 7005bdf
Browse repository at this point
docs: Add doc comments based on PR feedback
ytmimi
committed
a750a23
View commit details
Copy full SHA for a750a23
Browse repository at this point
feat: flatten `cfg_select!` arms if they're a single expression
ytmimi
committed
869e53c
View commit details
Copy full SHA for 869e53c
Browse repository at this point
fix: rename `parse_cfg_select` -> `parse_cfg_select_arms`
Show description for f31fc43
ytmimi
committed
f31fc43
View commit details
Copy full SHA for f31fc43
Browse repository at this point
refactor: reorder `format_cfg_select` arguments
Show description for 987e6b4
ytmimi
committed
987e6b4
View commit details
Copy full SHA for 987e6b4
Browse repository at this point
fix: make sure we cancel diagnostic errors when parsing `cfg_select!` arms
ytmimi
committed
d9ad5c7
View commit details
Copy full SHA for d9ad5c7
Browse repository at this point
fix: No need to clone before calling `context.leave_macro`
Show description for 02a4cf0
ytmimi
committed
02a4cf0
View commit details
Copy full SHA for 02a4cf0
Browse repository at this point
test: Add test case where `cfg_select!` falls back to default macro handling
ytmimi
committed
8534173
View commit details
Copy full SHA for 8534173
Browse repository at this point
Commits on Aug 11, 2026
Merge remote-tracking branch 'upstream/main' into subtree-push-nightly-2026-08-11
ytmimi
committed
4accb90
View commit details
Copy full SHA for 4accb90
Browse repository at this point
chore: bump rustfmt toolchain to nightly-2026-08-11
Show description for 6097a91
ytmimi
committed
6097a91
View commit details
Copy full SHA for 6097a91
Browse repository at this point
You can’t perform that action at this time.