Uh oh!
There was an error while loading. Please reload this page.
Fix another clashing_extern_declarations false positive. - #75885
Conversation
Fixes a false positive for transparent newtype with a non-zero member.
Mark-Simulacrum
commented
Aug 24, 2020
I'm going to nominate this for beta backport, similarly to #73990. However, note:
I suspect that it might make sense to continue allowing the lint by default for another cycle, though this patch does seem more minimal than the previous PR which we declined a direct backport of. We could also say this is "just a bug" and that it is fine for the false-positive here; I am not clear how likely it is in real-world code to hit this case. |
Uh oh!
There was an error while loading. Please reload this page.
lcnr
left a comment
There was a problem hiding this comment.
This change looks good to me 👍
I kind of feel like this lint is getting somewhat unwieldy though but don't really know how to clean this up myself so 🤷
A few minor nits, otherwise r=me
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Bastian Kauschke <bastian_kauschke@hotmail.de>
a678150 to
352df40Comparejumbatm
commented
Aug 25, 2020
Should be good to go once green. |
lcnr
commented
Aug 25, 2020
thanks @bors r+ rollup |
bors
commented
Aug 25, 2020
📌 Commit 352df40 has been approved by |
bors
commented
Aug 25, 2020
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
spastorino
commented
Aug 27, 2020
…declarations-transparent-nonzero, r=lcnr Fix another clashing_extern_declarations false positive. Fixesrust-lang#75739. Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member. r? @lcnr
…declarations-transparent-nonzero, r=lcnr Fix another clashing_extern_declarations false positive. Fixesrust-lang#75739. Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member. r? @lcnr
…declarations-transparent-nonzero, r=lcnr Fix another clashing_extern_declarations false positive. Fixesrust-lang#75739. Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member. r? @lcnr
…declarations-transparent-nonzero, r=lcnr Fix another clashing_extern_declarations false positive. Fixesrust-lang#75739. Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member. r? @lcnr
Rollup of 14 pull requests Successful merges: - rust-lang#75832 (Move to intra-doc links for wasi/ext/fs.rs, os_str_bytes.rs…) - rust-lang#75852 (Switch to intra-doc links in `core::hash`) - rust-lang#75874 (Shorten liballoc doc intra link while readable) - rust-lang#75881 (Expand rustdoc theme chooser x padding) - rust-lang#75885 (Fix another clashing_extern_declarations false positive.) - rust-lang#75892 (Fix typo in TLS Model in Unstable Book) - rust-lang#75910 (Add test for issue rust-lang#27130) - rust-lang#75917 (Move to intra doc links for core::ptr::non_null) - rust-lang#75975 (Allow --bess ing expect-tests in tools) - rust-lang#75990 (Add __fastfail for Windows on arm/aarch64) - rust-lang#76015 (Fix loading pretty-printers in rust-lldb script) - rust-lang#76022 (Clean up rustdoc front-end source code) - rust-lang#76029 (Move to intra-doc links for library/core/src/sync/atomic.rs) - rust-lang#76057 (Move retokenize hack to save_analysis) Failed merges: r? @ghost
Fixes#75739.
Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member.
r? @lcnr