External Publication
Visit Post

Change error message of a failing `assert_eq!`

Rust Internals [Unofficial] April 9, 2026
Source

It's not clear if XXX/YYY in your post is supposed to be the value of the argument or its name. But since you invoked it without specifying a name, I assumed that it's supposed to be the debug representation of the value.

What are XXX supposed to be?

Discussion in the ATmosphere

Loading comments...