diff options
| author | xFrednet <xFrednet@gmail.com> | 2023-07-11 19:23:01 +0200 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2023-07-11 19:23:42 +0200 |
| commit | 31397b489a0601ac53717bef2e3f2b3a945779b1 (patch) | |
| tree | 0f6f8ca0324307e946d89b402a9a449ab5cc6915 | |
| parent | 3be3fb7231677e043317ef026989584ba9a23e37 (diff) | |
| download | rust-31397b489a0601ac53717bef2e3f2b3a945779b1.tar.gz rust-31397b489a0601ac53717bef2e3f2b3a945779b1.zip | |
Update version attribute for 1.71 lints
| -rw-r--r-- | clippy_lints/src/items_after_test_module.rs | 2 | ||||
| -rw-r--r-- | clippy_lints/src/loops/mod.rs | 2 | ||||
| -rw-r--r-- | clippy_lints/src/needless_bool.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/items_after_test_module.rs b/clippy_lints/src/items_after_test_module.rs index 40378ee8205..f684847c0c2 100644 --- a/clippy_lints/src/items_after_test_module.rs +++ b/clippy_lints/src/items_after_test_module.rs @@ -32,7 +32,7 @@ declare_clippy_lint! { /// // [...] /// } /// ``` - #[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`" diff --git a/clippy_lints/src/loops/mod.rs b/clippy_lints/src/loops/mod.rs index 529189b52ac..ffd29ab7630 100644 --- a/clippy_lints/src/loops/mod.rs +++ b/clippy_lints/src/loops/mod.rs @@ -601,7 +601,7 @@ declare_clippy_lint! { /// // 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" diff --git a/clippy_lints/src/needless_bool.rs b/clippy_lints/src/needless_bool.rs index 62af42a3961..34b74e180cb 100644 --- a/clippy_lints/src/needless_bool.rs +++ b/clippy_lints/src/needless_bool.rs @@ -106,7 +106,7 @@ declare_clippy_lint! { /// # 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" |
