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
librustc error_reporting.rs cleanup.
- #39977
#39977
Merged
bors
merged 8 commits into
rust-lang:master
rust-lang/rust:master
from
frewsxcv:error-reporting-cleanup
frewsxcv/rust:error-reporting-cleanup
Copy head branch name to clipboard
Feb 28, 2017
Conversation
Commits
8
(8)
Checks
Files changed
Merged
librustc error_reporting.rs cleanup.
#39977
bors
merged 8 commits into
rust-lang:master
rust-lang/rust:master
from
frewsxcv:error-reporting-cleanup
frewsxcv/rust:error-reporting-cleanup
Copy head branch name to clipboard
Commits
Commits on Feb 20, 2017
Remove `else`, unindent.
frewsxcv
committed
7e0c3de
View commit details
Copy full SHA for 7e0c3de
Browse repository at this point
Rewrite `match` to use combinators.
frewsxcv
committed
de2f7e1
View commit details
Copy full SHA for de2f7e1
Browse repository at this point
Remove `else`, unindent.
frewsxcv
committed
83fe48d
View commit details
Copy full SHA for 83fe48d
Browse repository at this point
Remove unnecessary logic when finding simpilar `impl` candidates.
frewsxcv
committed
a97aed7
View commit details
Copy full SHA for a97aed7
Browse repository at this point
Extract out error message generation.
frewsxcv
committed
2436d73
View commit details
Copy full SHA for 2436d73
Browse repository at this point
Add early return, remove `else`, unindent.
frewsxcv
committed
10639d7
View commit details
Copy full SHA for 10639d7
Browse repository at this point
Flatten `for` loop using iterator combinators.
frewsxcv
committed
23d9211
View commit details
Copy full SHA for 23d9211
Browse repository at this point
Move `TraitRef` `impl` next to `struct` definition.
frewsxcv
committed
a754ea6
View commit details
Copy full SHA for a754ea6
Browse repository at this point
You can’t perform that action at this time.