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 }}
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.8k
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
Explain origin of implicit
Sized
obligations and provide suggestions when possible
- #85947
#85947
Closed
estebank
wants to merge 11 commits into
rust-lang:master
rust-lang/rust:master
from
estebank:type-trait-bound-span-2
estebank/rust:type-trait-bound-span-2
Copy head branch name to clipboard
Conversation
Commits
11
(11)
Checks
Files changed
Closed
Explain origin of implicit
Sized
obligations and provide suggestions when possible
#85947
estebank
wants to merge 11 commits into
rust-lang:master
rust-lang/rust:master
from
estebank:type-trait-bound-span-2
estebank/rust:type-trait-bound-span-2
Copy head branch name to clipboard
Commits
Commits on Jun 11, 2021
Point at RHS of associated type in obligation span
estebank
committed
1d15d43
View commit details
Copy full SHA for 1d15d43
Browse repository at this point
Point at `impl` assoc type on projection error
estebank
committed
280d4e1
View commit details
Copy full SHA for 280d4e1
Browse repository at this point
Tweak spans and labels
estebank
committed
ccf6d4f
View commit details
Copy full SHA for ccf6d4f
Browse repository at this point
Further tweak labels
estebank
committed
01cb828
View commit details
Copy full SHA for 01cb828
Browse repository at this point
Revert span for "impl assoc type has extra requirements"
estebank
committed
1c02dbb
View commit details
Copy full SHA for 1c02dbb
Browse repository at this point
Mention where implicit `Sized` obligations come from on E0277
Show description for 0f533e5
estebank
committed
0f533e5
View commit details
Copy full SHA for 0f533e5
Browse repository at this point
Move label for `Sized` obligation introduced by type param or assoc type to its own note
estebank
committed
2c58ef5
View commit details
Copy full SHA for 2c58ef5
Browse repository at this point
Fix rustdoc
estebank
committed
6dab597
View commit details
Copy full SHA for 6dab597
Browse repository at this point
Fix rebase
estebank
committed
6fdf73f
View commit details
Copy full SHA for 6fdf73f
Browse repository at this point
Suggest removal of `?Sized` bound when appropriate
estebank
committed
f338867
View commit details
Copy full SHA for f338867
Browse repository at this point
Account for associated types in `Sized` bound error
estebank
committed
3956224
View commit details
Copy full SHA for 3956224
Browse repository at this point
You can’t perform that action at this time.