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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.4k
(1.4k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Refactor DebruijnIndex to be 0-based
- #50475
#50475
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
csmoe:debr
csmoe/rust:debr
Copy head branch name to clipboard
May 29, 2018
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Refactor DebruijnIndex to be 0-based
#50475
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
csmoe:debr
csmoe/rust:debr
Copy head branch name to clipboard
Commits
Commits on May 28, 2018
introduce `shifted_in`, `shifted_out` and friends
Show description for 69ab6f2
nikomatsakis
and
csmoe
committed
69ab6f2
View commit details
Copy full SHA for 69ab6f2
Browse repository at this point
port `fold_regions` and friends to use debruijn indices directly
Show description for 9c5a450
nikomatsakis
and
csmoe
committed
9c5a450
View commit details
Copy full SHA for 9c5a450
Browse repository at this point
make `shifted_in` and `shifted_out` const fns
Show description for b5018de
nikomatsakis
and
csmoe
committed
b5018de
View commit details
Copy full SHA for b5018de
Browse repository at this point
stop invoking `DebruijnIndex::new` directly
Show description for 8bd4bff
nikomatsakis
and
csmoe
committed
8bd4bff
View commit details
Copy full SHA for 8bd4bff
Browse repository at this point
port `nice_region_error` code to not track depth but rather index
Show description for e2f7f4a
nikomatsakis
and
csmoe
committed
e2f7f4a
View commit details
Copy full SHA for e2f7f4a
Browse repository at this point
rewrite the hasher to not access `depth` field
Show description for f965b79
nikomatsakis
and
csmoe
committed
f965b79
View commit details
Copy full SHA for f965b79
Browse repository at this point
refactor `resolve_lifetime` to track outer-index, not depth
Show description for 34c9ae7
nikomatsakis
and
csmoe
committed
34c9ae7
View commit details
Copy full SHA for 34c9ae7
Browse repository at this point
replace use of DebruijnIndex in `for_each_free_region`
Show description for 4aeb6ef
nikomatsakis
and
csmoe
committed
4aeb6ef
View commit details
Copy full SHA for 4aeb6ef
Browse repository at this point
convert `LateBoundRegionsCollector` to track a debruijn index
Show description for 06b2a3f
nikomatsakis
and
csmoe
committed
06b2a3f
View commit details
Copy full SHA for 06b2a3f
Browse repository at this point
replace `binder_depth` in `LateBoundRegionsDetector`
Show description for 8f15d1e
nikomatsakis
and
csmoe
committed
8f15d1e
View commit details
Copy full SHA for 8f15d1e
Browse repository at this point
remove use of depth from `TyS` and replace with a debruijn index
Show description for 7e15e0b
nikomatsakis
and
csmoe
committed
7e15e0b
View commit details
Copy full SHA for 7e15e0b
Browse repository at this point
make depth private
Show description for 22a25d9
nikomatsakis
and
csmoe
committed
22a25d9
View commit details
Copy full SHA for 22a25d9
Browse repository at this point
change to 0-based indices
Show description for 783fe4f
nikomatsakis
and
csmoe
committed
783fe4f
View commit details
Copy full SHA for 783fe4f
Browse repository at this point
You can’t perform that action at this time.