Change error message of a failing `assert_eq!`
Rust Internals [Unofficial]
March 30, 2026
Not familiar with the C++ version, but for the Rust version the second argument allows matchers, so the distinction there between the first and second argument can't be easily removed.
Discussion in the ATmosphere