External Publication
Visit Post

Make `#[derive(Copy)]` enough for both `Clone` and `Copy`

Rust Internals [Unofficial] June 7, 2026
Source

Your thread is exactly the same idea! I didn't do a good job at finding duplicate threads.

Neutron3529:

Maybe adding a new type DeriveDefault could be better.

I didn't understand how your proposed switch works exactly. Do you think the switch is necessary? Or just changing the behavior over an edition would suffice?

Discussion in the ATmosphere

Loading comments...