]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #73990 - jumbatm:clashing-extern-decl, r=nagisa
authorbors <bors@rust-lang.org>
Thu, 30 Jul 2020 14:36:41 +0000 (14:36 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 Jul 2020 14:36:41 +0000 (14:36 +0000)
Fix incorrect clashing_extern_declarations warnings.

Fixes #73735, fixes #73872.

Fix clashing_extern_declarations warning for `#[repr(transparent)]` structs and safely-FFI-convertible enums, and not warning for clashes of struct members of different types, but the same size.

r? @nagisa


Trivial merge