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
It seems that there is a case still not being fixed, when #[repr(transparent)] is used with non-zero types.
mod a {use std::num::NonZeroUsize;extern"C"{fna() -> NonZeroUsize;}}mod b {#[repr(transparent)]structX(NonZeroUsize);use std::num::NonZeroUsize;extern"C"{fna() -> X;}}