Brainstorming syntax for const derive
Rust Internals [Unofficial]
March 26, 2026
Despite the cons, and keywords not really being allowed there today, I find #[derive(PartialEq(const))] to be the most Rust-like of the bunch.
Discussion in the ATmosphere