{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiazss4voynmifygeea6dtuwzsi2zbaj2a7u5nguddh4jwuoavpsrm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mimt7hvyci22"
},
"path": "/t/idea-must-use-inherit/24117#post_4",
"publishedAt": "2026-04-03T22:42:40.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"allow_attributes_without_reason"
],
"textContent": "It _does_ work, but still has two downsides:\n\n * Verbose. I should put `#[expect(clippy::double_must_use)]` on every function that returns a `Result<T, E>`(for example). In addition, if you turned on allow_attributes_without_reason(I did!), now it becomes `#[expect(clippy::double_must_use, reason = \"...\")]`. That will be nightmare IMO.\n * Doubled warning, what `double_must_use` is concerned about.\n\n",
"title": "Idea: #[must_use = inherit]"
}