mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-06 12:54:51 +00:00
Update version attribute for 1.71 lints
This commit is contained in:
parent
3be3fb7231
commit
31397b489a
@ -32,7 +32,7 @@ declare_clippy_lint! {
|
|||||||
/// // [...]
|
/// // [...]
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.70.0"]
|
#[clippy::version = "1.71.0"]
|
||||||
pub ITEMS_AFTER_TEST_MODULE,
|
pub ITEMS_AFTER_TEST_MODULE,
|
||||||
style,
|
style,
|
||||||
"An item was found after the testing module `tests`"
|
"An item was found after the testing module `tests`"
|
||||||
|
@ -601,7 +601,7 @@ declare_clippy_lint! {
|
|||||||
/// // use `number`
|
/// // use `number`
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.70.0"]
|
#[clippy::version = "1.71.0"]
|
||||||
pub MANUAL_WHILE_LET_SOME,
|
pub MANUAL_WHILE_LET_SOME,
|
||||||
style,
|
style,
|
||||||
"checking for emptiness of a `Vec` in the loop condition and popping an element in the body"
|
"checking for emptiness of a `Vec` in the loop condition and popping an element in the body"
|
||||||
|
@ -106,7 +106,7 @@ declare_clippy_lint! {
|
|||||||
/// # let mut skip: bool;
|
/// # let mut skip: bool;
|
||||||
/// skip = !must_keep(x, y);
|
/// skip = !must_keep(x, y);
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.69.0"]
|
#[clippy::version = "1.71.0"]
|
||||||
pub NEEDLESS_BOOL_ASSIGN,
|
pub NEEDLESS_BOOL_ASSIGN,
|
||||||
complexity,
|
complexity,
|
||||||
"setting the same boolean variable in both branches of an if-statement"
|
"setting the same boolean variable in both branches of an if-statement"
|
||||||
|
Loading…
Reference in New Issue
Block a user