Change error message of a failing `assert_eq!`
Rust Internals [Unofficial]
March 30, 2026
In those cases the actual/expected labels become roughly as meaningful as left and right. For assert_ne the labels could become unactual and unexpected, or perhaps they could be left as is.
Discussion in the ATmosphere