Remove object lifetime cast #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "aliceryhl/async-codegen:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Thank you!