Skip to content

Commit 167eef9

Browse files
committed
Bump clippy::version for some lints
Also moves `tuple_array_conversions` to `pedantic`, because rust-lang#11171 didn't contain it fsr
1 parent d91195d commit 167eef9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

clippy_lints/src/excessive_nesting.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ declare_clippy_lint! {
5656
/// // lib.rs
5757
/// pub mod a;
5858
/// ```
59-
#[clippy::version = "1.70.0"]
59+
#[clippy::version = "1.72.0"]
6060
pub EXCESSIVE_NESTING,
6161
complexity,
6262
"checks for blocks nested beyond a certain threshold"

clippy_lints/src/four_forward_slashes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare_clippy_lint! {
2828
/// // ...
2929
/// }
3030
/// ```
31-
#[clippy::version = "1.72.0"]
31+
#[clippy::version = "1.73.0"]
3232
pub FOUR_FORWARD_SLASHES,
3333
suspicious,
3434
"comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)"

clippy_lints/src/methods/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3403,7 +3403,7 @@ declare_clippy_lint! {
34033403
/// # let c = 'c';
34043404
/// matches!(c, '\\' | '.' | '+' | '*' | '(' | ')' | '|' | '[' | ']' | '{' | '}' | '^' | '$' | '#' | '&' | '-' | '~');
34053405
/// ```
3406-
#[clippy::version = "1.72.0"]
3406+
#[clippy::version = "1.73.0"]
34073407
pub STRING_LIT_CHARS_ANY,
34083408
restriction,
34093409
"checks for `<string_lit>.chars().any(|i| i == c)`"
@@ -3438,7 +3438,7 @@ declare_clippy_lint! {
34383438
/// })
34393439
/// }
34403440
/// ```
3441-
#[clippy::version = "1.72.0"]
3441+
#[clippy::version = "1.73.0"]
34423442
pub FORMAT_COLLECT,
34433443
perf,
34443444
"`format!`ing every element in a collection, then collecting the strings into a new `String`"
@@ -3459,7 +3459,7 @@ declare_clippy_lint! {
34593459
/// let y = v.iter().collect::<Vec<_>>();
34603460
/// assert_eq!(x, y);
34613461
/// ```
3462-
#[clippy::version = "1.72.0"]
3462+
#[clippy::version = "1.73.0"]
34633463
pub ITER_SKIP_ZERO,
34643464
correctness,
34653465
"disallows `.skip(0)`"

clippy_lints/src/tuple_array_conversions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// ```
3838
#[clippy::version = "1.72.0"]
3939
pub TUPLE_ARRAY_CONVERSIONS,
40-
nursery,
40+
pedantic,
4141
"checks for tuple<=>array conversions that are not done with `.into()`"
4242
}
4343
impl_lint_pass!(TupleArrayConversions => [TUPLE_ARRAY_CONVERSIONS]);

0 commit comments

Comments
 (0)