{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreicfrpaiflugwdk2x56fzuufjh6szvagdq3xfz7yoc2y5l5az3qsyi",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnq2ydi3caq2"
  },
  "path": "/t/make-derive-copy-enough-for-both-clone-and-copy/24371?page=2#post_25",
  "publishedAt": "2026-06-07T19:35:17.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "chrefr:\n\n> Your proposal won't be able to support this case anyway\n\nYou are right.\n\nchrefr:\n\n> That does not matter, since the only edition still need to be supported, and the code for it must still be inside the compiler.\n\nI didn't get it. What do you mean by \"the only edition\"? I think without that attribute, the only change needed in the compiler is that the `Copy` derive macro should resolve to `edition2027::Copy` builtin macro, which is almost nothing relative to other edition changes in terms of complexity. If we remove the `Clone` near `Copy` detection in the current compiler you mentioned, I guess the implementation actually become simpler.",
  "title": "Make `#[derive(Copy)]` enough for both `Clone` and `Copy`"
}