Skip to content

Commit c5b974b

Browse files
committed
Update version attribute for 1.70 lints
1 parent 8d9e427 commit c5b974b

7 files changed

+7
-7
lines changed

clippy_lints/src/allow_attributes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ declare_clippy_lint! {
4040
/// a.len()
4141
/// }
4242
/// ```
43-
#[clippy::version = "1.69.0"]
43+
#[clippy::version = "1.70.0"]
4444
pub ALLOW_ATTRIBUTES,
4545
restriction,
4646
"`#[allow]` will not trigger if a warning isn't found. `#[expect]` triggers if there are no warnings."

clippy_lints/src/collection_is_never_read.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// println!("{sample}");
3838
/// }
3939
/// ```
40-
#[clippy::version = "1.69.0"]
40+
#[clippy::version = "1.70.0"]
4141
pub COLLECTION_IS_NEVER_READ,
4242
nursery,
4343
"a collection is never queried"

clippy_lints/src/large_futures.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ declare_clippy_lint! {
3838
/// wait(fut).await;
3939
/// }
4040
/// ```
41-
#[clippy::version = "1.68.0"]
41+
#[clippy::version = "1.70.0"]
4242
pub LARGE_FUTURES,
4343
pedantic,
4444
"large future may lead to unexpected stack overflows"

clippy_lints/src/let_with_type_underscore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare_clippy_lint! {
1717
/// ```rust,ignore
1818
/// let my_number = 1;
1919
/// ```
20-
#[clippy::version = "1.69.0"]
20+
#[clippy::version = "1.70.0"]
2121
pub LET_WITH_TYPE_UNDERSCORE,
2222
complexity,
2323
"unneeded underscore type (`_`) in a variable declaration"

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,7 @@ declare_clippy_lint! {
31913191
/// let mut v = vec![1, 2, 3];
31923192
/// v.clear();
31933193
/// ```
3194-
#[clippy::version = "1.69.0"]
3194+
#[clippy::version = "1.70.0"]
31953195
pub CLEAR_WITH_DRAIN,
31963196
nursery,
31973197
"calling `drain` in order to `clear` a container"

clippy_lints/src/missing_assert_message.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare_clippy_lint! {
3636
/// assert!(service.ready, "`service.poll_ready()` must be called first to ensure that service is ready to receive requests");
3737
/// }
3838
/// ```
39-
#[clippy::version = "1.69.0"]
39+
#[clippy::version = "1.70.0"]
4040
pub MISSING_ASSERT_MESSAGE,
4141
restriction,
4242
"checks assertions without a custom panic message"

clippy_lints/src/redundant_async_block.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// };
3636
/// let fut = f;
3737
/// ```
38-
#[clippy::version = "1.69.0"]
38+
#[clippy::version = "1.70.0"]
3939
pub REDUNDANT_ASYNC_BLOCK,
4040
complexity,
4141
"`async { future.await }` can be replaced by `future`"

0 commit comments

Comments
 (0)