Closed
Description
#[repr(Rust)]
is already on beta and will soon hit stable.
I just found out that #[repr(C, Rust)]
successfully compiles while I expected it to error due to contradictory representations.
Further, I wonder if (see err's response)#[repr(Rust, transparent)]
should be allowed? Currently it errors with E0692, transparent struct cannot have other repr hints.