{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreibiu4abauelwxyyknr2oijzkxhoznrf7xgv2ndrmzjlisffqckfyy",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgromf5wpt72"
},
"path": "/t/pre-feature-request-suppress-unused-variable-warning-for-unit-type-arguments/24065#post_6",
"publishedAt": "2026-03-11T02:47:05.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "I've run into a related issue with trait default implementations. I don't want to rename the parameter because it shows up in docs as-is. So I end up with `let _ = unused_arg;` in the body of the default impl (that doesn't use/need the argument). I agree that a special case on the lint isn't very nice though, so I just kind of live with the in-body \"suppression\".",
"title": "Pre-feature request: suppress unused variable warning for unit-type arguments"
}