1
0
Fork 1

Remove object lifetime cast #1

Merged
A248 merged 1 commit from aliceryhl/async-codegen:main into main 2025-12-03 13:26:59 +01:00
Contributor

There is an ongoing effort to remove lifetime casts on trait objects from the language. Please see: https://github.com/rust-lang/rust/pull/136776

Using a transmute to perform the relevant pointer cast is the recommended replacement.

There is an ongoing effort to remove lifetime casts on trait objects from the language. Please see: https://github.com/rust-lang/rust/pull/136776 Using a transmute to perform the relevant pointer cast is the recommended replacement.
A248 merged commit 1f250ced08 into main 2025-12-03 13:26:59 +01:00
A248 referenced this pull request from a commit 2025-12-03 13:27:01 +01:00
Owner

Thank you!

Thank you!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
A248/async-codegen!1
No description provided.