about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-27 05:43:13 +0000
committerbors <bors@rust-lang.org>2022-04-27 05:43:13 +0000
commit18a1831377ffd7578af850a136cdf3bec3650c1a (patch)
treed86630a9aa2af1a67c6c285d39683bc7a44349fc /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent95396f61bcc3f9439132d57dcd21b6aa0a5deb73 (diff)
parent0c164bbfdbe92e4a3732fc4d318e4eb85c843a1f (diff)
downloadrust-18a1831377ffd7578af850a136cdf3bec3650c1a.tar.gz
rust-18a1831377ffd7578af850a136cdf3bec3650c1a.zip
Auto merge of #8743 - Alexendoo:useless-attribute-redundant-pub-crate, r=llogiq
ignore `redundant_pub_crate` in `useless_attribute`

changelog: [`useless_attribute`] no longer lints [`redundant_pub_crate`]

As mentioned in https://github.com/rust-lang/rust-clippy/issues/8732#issuecomment-1106489634

> And it turns out I can't even explicitly allow it at the usage site, because then `clippy::useless_attribute` fires (which would also be a FP?), which is deny-by-default.
>
> Though it does work if I then allow `clippy::useless_attribute`. 😂
>
> ```rust
> #[allow(clippy::useless_attribute)]
> #[allow(clippy::redundant_pub_crate)]
> pub(crate) use bit;
> ```
>
> The originally-reported warning now no longer occurs.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions