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.2k
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
[WIP] rustc: push LocalDefId and/or assert_local calls farther back.
- #66132
#66132
Closed
eddyb
wants to merge 10 commits into
rust-lang:master
rust-lang/rust:master
from
eddyb:spread-local-def-id
eddyb/rust:spread-local-def-id
Copy head branch name to clipboard
Conversation
Commits
10
(10)
Checks
Files changed
Closed
[WIP] rustc: push LocalDefId and/or assert_local calls farther back.
#66132
eddyb
wants to merge 10 commits into
rust-lang:master
rust-lang/rust:master
from
eddyb:spread-local-def-id
eddyb/rust:spread-local-def-id
Copy head branch name to clipboard
Commits
Commits on Nov 8, 2019
rustc: use LocalDefId instead of DefIndex for query keys.
eddyb
committed
c4d3f28
View commit details
Copy full SHA for c4d3f28
Browse repository at this point
rustc_typeck: remove dead impl for `DefIndex`.
eddyb
committed
a46ce5b
View commit details
Copy full SHA for a46ce5b
Browse repository at this point
rustc: make LocalDefId's index field public like DefId's is.
eddyb
committed
7b82c07
View commit details
Copy full SHA for 7b82c07
Browse repository at this point
rustc: rename DefId::to_local to assert_local and use it instead of LocalDefId::from_def_id.
eddyb
committed
f7b9d60
View commit details
Copy full SHA for f7b9d60
Browse repository at this point
rustc: introduce DefId::as_local(self) -> Option<LocalDefId> and use it.
eddyb
committed
d7af449
View commit details
Copy full SHA for d7af449
Browse repository at this point
rustc: use LocalDefId instead of DefIndex in hir::lowering.
eddyb
committed
7c1dcba
View commit details
Copy full SHA for 7c1dcba
Browse repository at this point
rustc: use LocalDefId instead of DefIndex in HirId.
eddyb
committed
091012d
View commit details
Copy full SHA for 091012d
Browse repository at this point
rustc: use LocalDefId instead of DefIndex in ich.
eddyb
committed
8959646
View commit details
Copy full SHA for 8959646
Browse repository at this point
rustc: use LocalDefId instead of DefIndex in hir::map::definitions.
eddyb
committed
9c1f88e
View commit details
Copy full SHA for 9c1f88e
Browse repository at this point
rustc: push LocalDefId and/or assert_local calls farther back.
eddyb
committed
b3c2aeb
View commit details
Copy full SHA for b3c2aeb
Browse repository at this point
You can’t perform that action at this time.