diff options
| author | bors <bors@rust-lang.org> | 2022-10-23 15:08:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-23 15:08:47 +0000 |
| commit | fe57ab7c6414bbef66097c972e613492b8d95065 (patch) | |
| tree | f96b195c4bebca37e21588baac4e120f8e7aa154 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | b97d29acb714213c1331ff846e043584d42ca864 (diff) | |
| parent | 9ebd6916125e9181d1ce340a159e9403afc99188 (diff) | |
| download | rust-fe57ab7c6414bbef66097c972e613492b8d95065.tar.gz rust-fe57ab7c6414bbef66097c972e613492b8d95065.zip | |
Auto merge of #9630 - CatDevz:fix-aawr-lint, r=flip1995
Fix allow_attributes_without_reason applying to external crate macros Previously the `clippy::allow_attributes_without_reason` lint would apply to external crate macros. Many macros in the Rust ecosystem include these `allow` attributes without adding a reason, making this lint pretty much unusable in any sizable Rust project. This commit fixes that by adding a check to the lint if the attribute is from an external crate macro and returning early. ``` changelog: [`allow_attributes_without_reason`]: allow_attributes_without_reason no longer applies to external crate macros ```
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
