{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreibymnxq3rkakdaof5xts2v6qkb5sklhhzz36bdqo3ypuagtt7drkm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgacf7z3vxi2"
},
"path": "/t/pre-rfc-deprecation-and-separation-of-the-dead-code-lint/24045#post_10",
"publishedAt": "2026-03-03T21:39:00.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "chrisd:\n\n> * `dead_code`: lints on unused _items_\n>\n\n\nGiven this definition, a lint rename from `dead_code` to `unused_definitions` or similar seems like a reasonable change to propose? And keep the old name around as a no longer recommended alias (like with `bad_style` and `nonstandard_style`).\n\n(Specifying \"definitions\" instead of \"items\" I think captures the reasoning behind the lint not linting on unused imports, as those aren't item definitions.)",
"title": "Pre-RFC: Deprecation and separation of the dead_code lint"
}