aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2024-03-01 02:22:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-03-01 02:22:16 +0000
commitccb12a2e5430b4515ee75cf1791f044184368a2b (patch)
tree63a46446ef94be3d9cfb8a857b44e93f5db80e7f
parente169c59ed0dfbb7db9ea49bd65d646c992036a1a (diff)
parent7180b3caa62e4b4c89af561f64666110aced5200 (diff)
Merge "Allow clippy::disallowed_names since it can be used for debugging" into main am: 0684c5fc11 am: 7180b3caa6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2984234 Change-Id: I2360618cf27eac35e5b8ade0895124c272a73439 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--rust/config/lints.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/config/lints.go b/rust/config/lints.go
index 7770af03e..735aa169b 100644
--- a/rust/config/lints.go
+++ b/rust/config/lints.go
@@ -53,6 +53,8 @@ var (
// It should be assumed that any warning lint will be promoted to a
// deny.
defaultClippyLints = []string{
+ // Let people hack in peace. ;)
+ "-A clippy::disallowed_names",
"-A clippy::type-complexity",
"-A clippy::unnecessary_fallible_conversions",
"-A clippy::unnecessary-wraps",