Open
Description
Reported by @retep998 at #46043 (comment), here's a minimal example:
#[repr(packed)]
#[derive(Debug)]
struct Foo {
x: usize,
}
impl Clone for Foo {
fn clone(&self) -> Self {
Foo { x: self.x }
}
}
impl Copy for Foo {}