Skip to content

Conversation

@Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Dec 2, 2025

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

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

Copy link
Owner

@Johnabell Johnabell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution and addressing this

@Johnabell Johnabell merged commit 8f85c22 into Johnabell:master Dec 6, 2025
18 checks passed
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