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.1k
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
Account for common
impl Trait
/
dyn Trait
return type errors
- #68195
#68195
Merged
bors
merged 15 commits into
rust-lang:master
rust-lang/rust:master
from
estebank:impl-trait-2000
estebank/rust:impl-trait-2000
Copy head branch name to clipboard
Jan 17, 2020
Conversation
Commits
15
(15)
Checks
Files changed
Merged
Account for common
impl Trait
/
dyn Trait
return type errors
#68195
bors
merged 15 commits into
rust-lang:master
rust-lang/rust:master
from
estebank:impl-trait-2000
estebank/rust:impl-trait-2000
Copy head branch name to clipboard
Commits
Commits on Jan 16, 2020
Specific error for unsized `dyn Trait` return type
Show description for 6fd5641
estebank
committed
6fd5641
View commit details
Copy full SHA for 6fd5641
Browse repository at this point
Account for diverging types in return `impl Trait`
estebank
committed
75eabb1
View commit details
Copy full SHA for 75eabb1
Browse repository at this point
Elide E0308 errors in favor of E0746
Show description for ea7e885
estebank
committed
ea7e885
View commit details
Copy full SHA for ea7e885
Browse repository at this point
Make `impl Trait` suggestion in E0746 `MachineApplicable`
estebank
committed
b4bbe78
View commit details
Copy full SHA for b4bbe78
Browse repository at this point
When trait bounds are missing for return values, point at them
estebank
committed
e1dd8a9
View commit details
Copy full SHA for e1dd8a9
Browse repository at this point
fmt
estebank
committed
93293c5
View commit details
Copy full SHA for 93293c5
Browse repository at this point
Add E0746 explanation to the index
estebank
committed
4c13d25
View commit details
Copy full SHA for 4c13d25
Browse repository at this point
Split `librustc/traits/error_reporting.rs`
estebank
committed
00c8272
View commit details
Copy full SHA for 00c8272
Browse repository at this point
fix error code index comment
estebank
committed
4a75ef9
View commit details
Copy full SHA for 4a75ef9
Browse repository at this point
review comments
estebank
committed
5b36c18
View commit details
Copy full SHA for 5b36c18
Browse repository at this point
review comments
estebank
committed
509cb33
View commit details
Copy full SHA for 509cb33
Browse repository at this point
Fix error index test
estebank
committed
c305ac3
View commit details
Copy full SHA for c305ac3
Browse repository at this point
review comments
estebank
committed
d7a6212
View commit details
Copy full SHA for d7a6212
Browse repository at this point
Account for object safety when suggesting `Box<dyn Trait>`
estebank
committed
00e2626
View commit details
Copy full SHA for 00e2626
Browse repository at this point
review comments
estebank
committed
029a9c6
View commit details
Copy full SHA for 029a9c6
Browse repository at this point
You can’t perform that action at this time.