@iliazeus @lina Does `std::mem::ManuallyDrop` do this? Or do you mean forbid it at the type level?
https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html
Edit: nvm, just saw your follow-up to that StackOverflow link
Top-level
@iliazeus @lina Does `std::mem::ManuallyDrop` do this? Or do you mean forbid it at the type level? No comments
|