{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreig5ufbfftq4ouqrgbiuayy3nghxnuu3aae3dd44zpv242feahcmaq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj3b3ies6vc2"
},
"path": "/t/change-error-message-of-a-failing-assert-eq/24118?page=2#post_28",
"publishedAt": "2026-04-09T08:51:36.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "CodesInChaos:\n\n> and it's not possible for one macro to be ideal for both cases\n\nTechnically a single macro could change its behavior based on #[cfg(test)], with an option to force one behavior.",
"title": "Change error message of a failing `assert_eq!`"
}