Rust Eyes New Move Trait to Support Immobile Types and Guaranteed Destructors
The Rust project has published a 2026 goal proposing the introduction of a Move trait to the language. The proposal aims to enable immobile types — objects that cannot be moved in memory after creation. This would also allow guaranteed destructor execution, improving safety for types managing external resources. The goal is tracked in the official rust-lang project goals repository on GitHub. No community comments have been posted on the proposal yet.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in