summaryrefslogtreecommitdiff
path: root/rust/config/lints.go
diff options
context:
space:
mode:
author Chris Wailes <chriswailes@google.com> 2022-01-13 11:04:51 -0800
committer Chris Wailes <chriswailes@google.com> 2022-01-13 17:14:17 -0800
commit57c23fa8147e096ddb1cb94f56ac2a55a742c785 (patch)
treedb3b437e8415f8bcea351db13c271503cc5d9f06 /rust/config/lints.go
parent8a9a97b4a066cf8c4c7784ae0a1a214d009bc50f (diff)
Update RustDefaultVersion to 1.58.0
This CL updates the RustDefaultVersion to the new prebuilt version number and adds an argument to suppress a new linter warning, non-send-fields-in-send-ty, that is prone to false positives. See https://github.com/rust-lang/rust-clippy/issues/8045 for more information. Test: m rust Bug: 213921092 Change-Id: Ide568327f0a8994a6a934d14bb67b3139d0d98da
Diffstat (limited to 'rust/config/lints.go')
-rw-r--r--rust/config/lints.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/config/lints.go b/rust/config/lints.go
index ef6b315e9..fe195c4c9 100644
--- a/rust/config/lints.go
+++ b/rust/config/lints.go
@@ -51,6 +51,7 @@ var (
// It should be assumed that any warning lint will be promoted to a
// deny.
defaultClippyLints = []string{
+ "-A clippy::non-send-fields-in-send-ty",
"-A clippy::type-complexity",
"-A clippy::unnecessary-wraps",
"-A clippy::unusual-byte-groupings",