Is `&mut T -> &mut ManuallyDrop<T>` well-defined and sound?

· Users Rust Lang · May 7, 2026, 4:20 a.m.
Summary
The blog post raises a question about the soundness and usefulness of a Rust programming concept—transforming a mutable reference to a type into a mutable reference of `ManuallyDrop`. The author expresses skepticism about its practical utility, asking for an example use case to demonstrate its relevance.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →