External Publication
Visit Post

Change error message of a failing `assert_eq!`

Rust Internals [Unofficial] April 9, 2026
Source
CodesInChaos: > and it's not possible for one macro to be ideal for both cases Technically a single macro could change its behavior based on #[cfg(test)], with an option to force one behavior.

Discussion in the ATmosphere

Loading comments...