Add new flags for Rust 1.83 update
This CL adds the `-A missing-docs` flag when building Rust test
binaries and the `-A clippy::empty_line_after_doc_comments` flag for
Clippy targets. The first flag is required because the 1.83 update
exposes previously hidden functions that do not necessarily need
documentation.
Test: m rust
Bug: 384401387
Change-Id: Ic6bee1bd827db7b6cec1f83870108d164d02888a
diff --git a/rust/config/lints.go b/rust/config/lints.go
index 735aa16..715e8aa 100644
--- a/rust/config/lints.go
+++ b/rust/config/lints.go
@@ -55,6 +55,7 @@
defaultClippyLints = []string{
// Let people hack in peace. ;)
"-A clippy::disallowed_names",
+ "-A clippy::empty_line_after_doc_comments",
"-A clippy::type-complexity",
"-A clippy::unnecessary_fallible_conversions",
"-A clippy::unnecessary-wraps",