Allow clippy::unnecessary_fallible_conversions
This lint is part of Rust 1.75.0, but has a lot of problems with FFI data types that change size between 32-bit and 64-bit targets. This makes the lint check far less useful, so we are just globally suppressing it for now. Bug: http://b/321303117 Test: m Change-Id: I39531c961a26f533451d73b025caca02e593a269
This commit is contained in:
parent
c7c666a354
commit
f8ffb6d4c2
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ var (
|
|||
// Default Rust lints that applies to Google-authored modules.
|
||||
defaultRustcLints = []string{
|
||||
"-A deprecated",
|
||||
"-A unknown_lints",
|
||||
"-D missing-docs",
|
||||
"-D warnings",
|
||||
"-D unsafe_op_in_unsafe_fn",
|
||||
|
@ -53,6 +54,7 @@ var (
|
|||
// deny.
|
||||
defaultClippyLints = []string{
|
||||
"-A clippy::type-complexity",
|
||||
"-A clippy::unnecessary_fallible_conversions",
|
||||
"-A clippy::unnecessary-wraps",
|
||||
"-A clippy::unusual-byte-groupings",
|
||||
"-A clippy::upper-case-acronyms",
|
||||
|
|
Loading…
Reference in a new issue