]> git.lizzy.rs Git - rust.git/commit
Auto merge of #9658 - TennyZhuang:partial-pub-fields, r=llogiq
authorbors <bors@rust-lang.org>
Sun, 16 Oct 2022 14:06:56 +0000 (14:06 +0000)
committerbors <bors@rust-lang.org>
Sun, 16 Oct 2022 14:06:56 +0000 (14:06 +0000)
commitd917590af6d4db6dcb8c4adda8f870a6950ff247
treecac749e3e1d4f1c23b47bfc360ff9538f652e4a0
parent332b5b3d8b883087ea1632bf7cfb13721db6d9f9
parent360b48b1ab97471c0d122732a027b65f46980447
Auto merge of #9658 - TennyZhuang:partial-pub-fields, r=llogiq

Add new lint `partial_pub_fields`

Signed-off-by: TennyZhuang <zty0826@gmail.com>
*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: `partial_pub_fields`: new lint to disallow partial fields of a struct be pub

Resolve #9604
clippy_lints/src/lib.register_lints.rs
clippy_lints/src/lib.rs