{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie7gwqzzszg33jjyfdzrkcw73675d74ccwcktgnj44jxslikollsi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj4cqpwvqfn2"
},
"path": "/t/change-error-message-of-a-failing-assert-eq/24118?page=2#post_29",
"publishedAt": "2026-04-09T13:44:33.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "`assert_eq!(expectedPassword, providedPassword)` would reveal the secret information anyway. All a modified assert_eq would reveal would be the names of the variables that were provided to the macro. And it wouldn't need any trait specialization, either - I think you misunderstood what I was saying.",
"title": "Change error message of a failing `assert_eq!`"
}