Update version attribute for 1.71 lints

This commit is contained in:
xFrednet 2023-07-11 19:23:01 +02:00
parent 3be3fb7231
commit 31397b489a
No known key found for this signature in database
GPG Key ID: F5C59D0E669E5302
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
/// // [...]
/// }
/// ```
#[clippy::version = "1.70.0"]
#[clippy::version = "1.71.0"]
pub ITEMS_AFTER_TEST_MODULE,
style,
"An item was found after the testing module `tests`"

View File

@ -601,7 +601,7 @@
/// // use `number`
/// }
/// ```
#[clippy::version = "1.70.0"]
#[clippy::version = "1.71.0"]
pub MANUAL_WHILE_LET_SOME,
style,
"checking for emptiness of a `Vec` in the loop condition and popping an element in the body"

View File

@ -106,7 +106,7 @@
/// # let mut skip: bool;
/// skip = !must_keep(x, y);
/// ```
#[clippy::version = "1.69.0"]
#[clippy::version = "1.71.0"]
pub NEEDLESS_BOOL_ASSIGN,
complexity,
"setting the same boolean variable in both branches of an if-statement"