{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreib3tpzbal5gmdo5eiunuuwmh257fnzjbq7p4te3mlw6bsypodcw4a",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnjowo7535m2"
},
"path": "/t/make-derive-copy-enough-for-both-clone-and-copy/24371#post_7",
"publishedAt": "2026-06-05T07:32:09.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "If you scan the whole crate, no, but macros cannot do that currently (not even built-in macros), this will be a big change, hurt performance and incrementality, and something that rust-analyzer cannot implement (and as a member of T-rust-analyzer makes me feel deeply uneasy).",
"title": "Make `#[derive(Copy)]` enough for both `Clone` and `Copy`"
}