Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow trait objects with methods on self: Gc<Self> on nightly #162

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

andersk
Copy link
Collaborator

@andersk andersk commented Jan 27, 2023

This requires #![feature(arbitrary_self_types)] and nightly 2023-01-27 or later for rust-lang/rust#97373.

The Trace constraint is still needed when allocating or deallocating
Gc objects, and when mutably borrowing a GcCell, but isn’t strictly
needed elsewhere.

Signed-off-by: Anders Kaseorg <[email protected]>
This requires #![feature(arbitrary_self_types)] and nightly 2023-01-27
or later for rust-lang/rust#97373.

Signed-off-by: Anders Kaseorg <[email protected]>
@Manishearth Manishearth merged commit de3769d into Manishearth:master Jan 27, 2023
@andersk andersk mentioned this pull request Jun 29, 2023
@andersk andersk deleted the dispatch-from-dyn branch June 30, 2023 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants