aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2024-03-01 00:51:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-01 00:51:07 +0000
commit0684c5fc1140190e70fee99d51f12c1d31b859ea (patch)
tree9e869b82df64df7c25fb06726e439c96d11b7774
parente9f270a61f7489447e809d6320d95a7991998eba (diff)
parent5f8dae514b2378fed4957d5f1863e949e98aa9a9 (diff)
Merge "Allow clippy::disallowed_names since it can be used for debugging" into main
-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",