Skip to content

Commit be47e32

Browse files
committedFeb 4, 2024
Update version attributes for 1.76 lints
1 parent 9fb4107 commit be47e32

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

Diff for: ‎clippy_lints/src/doc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ declare_clippy_lint! {
226226
/// unimplemented!();
227227
/// }
228228
/// ```
229-
#[clippy::version = "1.40.0"]
229+
#[clippy::version = "1.76.0"]
230230
pub TEST_ATTR_IN_DOCTEST,
231231
suspicious,
232232
"presence of `#[test]` in code examples"

Diff for: ‎clippy_lints/src/iter_over_hash_type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare_clippy_lint! {
3434
/// let value = &my_map[key];
3535
/// }
3636
/// ```
37-
#[clippy::version = "1.75.0"]
37+
#[clippy::version = "1.76.0"]
3838
pub ITER_OVER_HASH_TYPE,
3939
restriction,
4040
"iterating over unordered hash-based types (`HashMap` and `HashSet`)"

Diff for: ‎clippy_lints/src/loops/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ declare_clippy_lint! {
672672
/// }
673673
/// }
674674
/// ```
675-
#[clippy::version = "1.75.0"]
675+
#[clippy::version = "1.76.0"]
676676
pub INFINITE_LOOP,
677677
restriction,
678678
"possibly unintended infinite loop"

Diff for: ‎clippy_lints/src/repeat_vec_with_capacity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ declare_clippy_lint! {
4242
/// // ^^^ this closure executes 123 times
4343
/// // and the vecs will have the expected capacity
4444
/// ```
45-
#[clippy::version = "1.74.0"]
45+
#[clippy::version = "1.76.0"]
4646
pub REPEAT_VEC_WITH_CAPACITY,
4747
suspicious,
4848
"repeating a `Vec::with_capacity` expression which does not retain capacity"

0 commit comments

Comments
 (0)