mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
Lower lint level for READ_ZERO_BYTE_VEC
This avoids reporting false-positives; see rust-lang/rust-clippy#9274 for details.
This commit is contained in:
parent
d939e5a3e5
commit
0ef6a65a4b
@ -43,7 +43,7 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
#[clippy::version = "1.63.0"]
|
||||
pub READ_ZERO_BYTE_VEC,
|
||||
correctness,
|
||||
pedantic,
|
||||
"checks for reads into a zero-length `Vec`"
|
||||
}
|
||||
declare_lint_pass!(ReadZeroByteVec => [READ_ZERO_BYTE_VEC]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user