about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSylvain Desodt <sylvain.desodt@forvia.com>2023-01-30 10:01:29 +0100
committerSylvain Desodt <sylvain.desodt@forvia.com>2023-01-30 10:01:38 +0100
commitecde2019e9ad63282b647fbce33cbbc3d394fd84 (patch)
tree11dc840801fba13910b9754a42392ef55ca3610c
parent96c28d1f69a120de7fcdbc40fb17610a407a4900 (diff)
downloadrust-ecde2019e9ad63282b647fbce33cbbc3d394fd84.tar.gz
rust-ecde2019e9ad63282b647fbce33cbbc3d394fd84.zip
Fix version declared for semicolon_inside_block and semicolon_outside_block
As per Issue #10244, the lint were documentated
as being part of 1.66.0 but will actually be
released 1.68.0 .
-rw-r--r--clippy_lints/src/semicolon_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/semicolon_block.rs b/clippy_lints/src/semicolon_block.rs
index 8f1d1490e1f..34a3e5ddf4f 100644
--- a/clippy_lints/src/semicolon_block.rs
+++ b/clippy_lints/src/semicolon_block.rs
@@ -30,7 +30,7 @@ declare_clippy_lint! {
     /// # let x = 0;
     /// unsafe { f(x); }
     /// ```
-    #[clippy::version = "1.66.0"]
+    #[clippy::version = "1.68.0"]
     pub SEMICOLON_INSIDE_BLOCK,
     restriction,
     "add a semicolon inside the block"
@@ -59,7 +59,7 @@ declare_clippy_lint! {
     /// # let x = 0;
     /// unsafe { f(x) };
     /// ```
-    #[clippy::version = "1.66.0"]
+    #[clippy::version = "1.68.0"]
     pub SEMICOLON_OUTSIDE_BLOCK,
     restriction,
     "add a semicolon outside the block"