You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Derive from any other trait only when deriving from Copy
It's impossible to #[derive] from any other trair when not deriving from
Copy when using the newest Rust nightly. Any attempt to do that results
in the following error:
error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
Fixes: rust-lang#2083
Signed-off-by: Michal Rostecki <[email protected]>
0 commit comments