{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidmf75mofelaeidm7q5k6tml33g5qcusbjz3m2nwm4uo77ox63ftq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgc74kajhqz2"
},
"path": "/t/pre-rfc-deprecation-and-separation-of-the-dead-code-lint/24045#post_16",
"publishedAt": "2026-03-04T17:15:24.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Maybe instead of replacing it with `unused_items`, replacing it with `unused_api` that acts identically to it does now would make more sense. As for transitivity, anything marked with an `#[allow/expect(unused(_<thing>))]` would be considered used in that context, as I believe it behaves now but will look into for things like imports. I'm going to add to the questions section whether the replacement should be called `unused_items` or `unused_api` and whether macros and/or imports should be included.",
"title": "Pre-RFC: Deprecation and separation of the dead_code lint"
}