about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-04 19:23:39 +0000
committerbors <bors@rust-lang.org>2022-03-04 19:23:39 +0000
commit48d54942f55078cd5866a96bd182bbaf2b81d0f6 (patch)
treec357a5c99c1bdc6cd876a8dae73551e0742437a5 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent53189ad190f313cbad28f8138a04e734ac052cfc (diff)
parentab6ffb6371b78d1777b90c25a44163562ae53036 (diff)
downloadrust-48d54942f55078cd5866a96bd182bbaf2b81d0f6.tar.gz
rust-48d54942f55078cd5866a96bd182bbaf2b81d0f6.zip
Auto merge of #8504 - xFrednet:8502-allow-lint-without-reason, r=flip1995
Add lint to detect `allow` attributes without reason

I was considering putting this lint into the pedantic group. However, that would result in countless warnings for existing projects. Having it in restriction also seems good to me :upside_down_face: (And now I need sleep :zzz: )

---

changelog: New lint [`allow_lint_without_reason`] (Requires the `lint_reasons` feature)

Closes: rust-lang/rust-clippy#8502
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions