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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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.4k
Star
116k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add an intermediate representation to exhaustiveness checking
- #88950
#88950
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
Nadrieril:deconstruct-pat
Nadrieril/rust:deconstruct-pat
Copy head branch name to clipboard
Sep 29, 2021
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Add an intermediate representation to exhaustiveness checking
#88950
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
Nadrieril:deconstruct-pat
Nadrieril/rust:deconstruct-pat
Copy head branch name to clipboard
Commits
Commits on Sep 22, 2021
Add tests
Nadrieril
committed
bf1848d
View commit details
Copy full SHA for bf1848d
Browse repository at this point
Commits on Sep 25, 2021
Remove premature shortcutting
Nadrieril
committed
2e78c6b
View commit details
Copy full SHA for 2e78c6b
Browse repository at this point
Remove some unreachable code
Nadrieril
committed
2bf6e78
View commit details
Copy full SHA for 2bf6e78
Browse repository at this point
Always report reachability for user-supplied patterns
Nadrieril
committed
003bbcb
View commit details
Copy full SHA for 003bbcb
Browse repository at this point
Cleanup the reporting of unreachable patterns
Nadrieril
committed
ff90c63
View commit details
Copy full SHA for ff90c63
Browse repository at this point
A for loop is a lot faster apparently
Nadrieril
committed
87a0a25
View commit details
Copy full SHA for 87a0a25
Browse repository at this point
Rework `Fields` internals.
Show description for 3175409
Nadrieril
committed
3175409
View commit details
Copy full SHA for 3175409
Browse repository at this point
Use usize for slice arity
Nadrieril
committed
035c521
View commit details
Copy full SHA for 035c521
Browse repository at this point
Move special `&str` handling to `Constructor` and `Fields`
Nadrieril
committed
5853399
View commit details
Copy full SHA for 5853399
Browse repository at this point
Remove dependency of `SubPatSet` on `Pat`
Nadrieril
committed
fde45e9
View commit details
Copy full SHA for fde45e9
Browse repository at this point
Replace `Pat` with a new intermediate representation
Nadrieril
committed
71abc95
View commit details
Copy full SHA for 71abc95
Browse repository at this point
Avoid double-deref in `Fields`
Nadrieril
committed
b6062bd
View commit details
Copy full SHA for b6062bd
Browse repository at this point
Trivialize tracking of unreachable subpatterns
Show description for b7e358e
Nadrieril
committed
b7e358e
View commit details
Copy full SHA for b7e358e
Browse repository at this point
You can’t perform that action at this time.