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
17.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
Take 2: Implement object-safety and dynamic dispatch for arbitrary_self_types
- #54383
#54383
Merged
bors
merged 19 commits into
rust-lang:master
rust-lang/rust:master
from
mikeyhew:custom-receivers-object-safety
mikeyhew/rust:custom-receivers-object-safety
Copy head branch name to clipboard
Nov 3, 2018
Conversation
Commits
19
(19)
Checks
Files changed
Merged
Take 2: Implement object-safety and dynamic dispatch for arbitrary_self_types
#54383
bors
merged 19 commits into
rust-lang:master
rust-lang/rust:master
from
mikeyhew:custom-receivers-object-safety
mikeyhew/rust:custom-receivers-object-safety
Copy head branch name to clipboard
Commits
Commits on Nov 1, 2018
Make all object-safety methods require a global TyCtxt
mikeyhew
committed
d14af13
View commit details
Copy full SHA for d14af13
Browse repository at this point
move some code around to avoid query cycles
mikeyhew
committed
a920036
View commit details
Copy full SHA for a920036
Browse repository at this point
Add CoerceSized trait and lang item
Show description for be80a79
mikeyhew
committed
be80a79
View commit details
Copy full SHA for be80a79
Browse repository at this point
Implement the object-safety checks for arbitrary_self_types: part 1
Show description for d5c2c4a
mikeyhew
committed
d5c2c4a
View commit details
Copy full SHA for d5c2c4a
Browse repository at this point
Implement object-safety for arbitrary_self_types: part 2
Show description for 9f59da2
mikeyhew
committed
9f59da2
View commit details
Copy full SHA for 9f59da2
Browse repository at this point
Add CoerceSized impls throughout libstd
Show description for 192900e
mikeyhew
committed
192900e
View commit details
Copy full SHA for 192900e
Browse repository at this point
update tests that have changed output
Show description for a0f23f8
mikeyhew
committed
a0f23f8
View commit details
Copy full SHA for a0f23f8
Browse repository at this point
Add new tests and update existing for object-safe custom receivers
mikeyhew
committed
82f1f9a
View commit details
Copy full SHA for 82f1f9a
Browse repository at this point
fix docs on trait
Show description for c29641e
mikeyhew
committed
c29641e
View commit details
Copy full SHA for c29641e
Browse repository at this point
Replace CoerceSized trait with DispatchFromDyn
Show description for f12c250
mikeyhew
committed
f12c250
View commit details
Copy full SHA for f12c250
Browse repository at this point
update DispatchFromDyn doctest
mikeyhew
committed
48d7f8d
View commit details
Copy full SHA for 48d7f8d
Browse repository at this point
fix error-index test
mikeyhew
committed
3c56d8d
View commit details
Copy full SHA for 3c56d8d
Browse repository at this point
Replace UncoeribleReceiver error message with UndispatchableReceiver
mikeyhew
committed
74ef46c
View commit details
Copy full SHA for 74ef46c
Browse repository at this point
Add layout sanity checks in object safety
Show description for 6f2a161
mikeyhew
committed
6f2a161
View commit details
Copy full SHA for 6f2a161
Browse repository at this point
Put backticks around field names, types and paths in error messages
Show description for b5b25f8
mikeyhew
committed
b5b25f8
View commit details
Copy full SHA for b5b25f8
Browse repository at this point
add `U: Trait` to the param env during DispatchFromDyn check
Show description for eb997d7
mikeyhew
committed
eb997d7
View commit details
Copy full SHA for eb997d7
Browse repository at this point
Remove this check for object-safety during selection of trait object candidates
Show description for 3db2203
mikeyhew
committed
3db2203
View commit details
Copy full SHA for 3db2203
Browse repository at this point
Add a check for reprs that could change the ABI
Show description for a468da9
mikeyhew
committed
a468da9
View commit details
Copy full SHA for a468da9
Browse repository at this point
Add comments explaining how codegen works for `dyn Trait` methods
mikeyhew
committed
192e7c4
View commit details
Copy full SHA for 192e7c4
Browse repository at this point
You can’t perform that action at this time.