mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
eb1f8dc2cb
fix ClashingExternDeclarations lint ICE Fixes #109334 First "real" contribution, please let me know if I did something wrong. As I understand it, it's OK if a `#[repr(transparent)]` type has no non-zero sized types (aka is a ZST itself) and the function should just return the type normally instead of panicking r? `@Nilstrieb`