]> git.lizzy.rs Git - rust.git/commit
Fix clashing_extern_declarations false positive.
authorjumbatm <30644300+jumbatm@users.noreply.github.com>
Mon, 24 Aug 2020 16:24:05 +0000 (02:24 +1000)
committerjumbatm <30644300+jumbatm@users.noreply.github.com>
Mon, 24 Aug 2020 16:30:16 +0000 (02:30 +1000)
commitf38eb93634b844ee8351501502f5331b04f063a5
treeda0868a6884c6f34f902aa012083b04a9ea5b5e9
parent03017003c77d782cf7ed841a05d7c628a9b93f25
Fix clashing_extern_declarations false positive.

Fixes a false positive for transparent newtype with a non-zero member.
src/librustc_lint/builtin.rs
src/librustc_lint/types.rs
src/test/ui/lint/clashing-extern-fn.rs
src/test/ui/lint/clashing-extern-fn.stderr