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
16.8k
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
Unflatten
use
statements in HIR
- #161349
#161349
Merged
rust-bors[bot]
merged 18 commits into
rust-lang:main
rust-lang/rust:main
from
oli-obk:unflatten-use
oli-obk/rust:unflatten-use
Copy head branch name to clipboard
Sep 25, 2026
Conversation
Commits
18
(18)
Checks
Files changed
Merged
Unflatten
use
statements in HIR
#161349
rust-bors[bot]
merged 18 commits into
rust-lang:main
rust-lang/rust:main
from
oli-obk:unflatten-use
oli-obk/rust:unflatten-use
Copy head branch name to clipboard
Commits
Commits on Sep 24, 2026
Remove an unnecessary derive
oli-obk
committed
8231458
View commit details
Copy full SHA for 8231458
Browse repository at this point
Pull nested import printing out into a method
oli-obk
committed
1cf068a
View commit details
Copy full SHA for 1cf068a
Browse repository at this point
Extract res -> PerNS logic into a method
oli-obk
committed
19a3542
View commit details
Copy full SHA for 19a3542
Browse repository at this point
Remove an argument that is the same everywhere
oli-obk
committed
6dc4040
View commit details
Copy full SHA for 6dc4040
Browse repository at this point
Remove a level of indentation and make later filtering easier
oli-obk
committed
f3ad84d
View commit details
Copy full SHA for f3ad84d
Browse repository at this point
Split path segment stability checking out into a separate method
oli-obk
committed
8e83711
View commit details
Copy full SHA for 8e83711
Browse repository at this point
Avoid passing a hir::Import around everywhere
oli-obk
committed
8abb71d
View commit details
Copy full SHA for 8abb71d
Browse repository at this point
Only pass down the information actually needed
oli-obk
committed
d393772
View commit details
Copy full SHA for d393772
Browse repository at this point
Simplify a condition that mostly did the same in both arms
oli-obk
committed
b8a917a
View commit details
Copy full SHA for b8a917a
Browse repository at this point
Pull rustdoc use tree visiting logic out into a separate method
oli-obk
committed
c36cdec
View commit details
Copy full SHA for c36cdec
Browse repository at this point
Handle use item collection in the late resolution visitor
oli-obk
committed
cb4d648
View commit details
Copy full SHA for cb4d648
Browse repository at this point
Don't create an owner per import, lower them as part of their surrounding scope instead
oli-obk
committed
594525f
View commit details
Copy full SHA for 594525f
Browse repository at this point
Stop special casing Use items in ast indexing
oli-obk
committed
76f5a56
View commit details
Copy full SHA for 76f5a56
Browse repository at this point
Make use trees in HIR be a tree again
oli-obk
committed
f894545
View commit details
Copy full SHA for f894545
Browse repository at this point
Preserve nested use tree DefIds to HIR
oli-obk
committed
59e1fa5
View commit details
Copy full SHA for 59e1fa5
Browse repository at this point
Make clippy handle HIR use trees
oli-obk
committed
9f9771d
View commit details
Copy full SHA for 9f9771d
Browse repository at this point
Make rustdoc handle HIR use trees
oli-obk
committed
695095a
View commit details
Copy full SHA for 695095a
Browse repository at this point
Remove redundant assert
oli-obk
committed
a7c90ba
View commit details
Copy full SHA for a7c90ba
Browse repository at this point
You can’t perform that action at this time.