Skip to content

Commit d47ab9f

Browse files
committed
Update version attribute for 1.79 lints
1 parent 5d568ad commit d47ab9f

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

clippy_lints/src/attrs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ declare_clippy_lint! {
463463
/// #[allow(dead_code)]
464464
/// fn foo() {}
465465
/// ```
466-
#[clippy::version = "1.78.0"]
466+
#[clippy::version = "1.79.0"]
467467
pub DUPLICATED_ATTRIBUTES,
468468
suspicious,
469469
"duplicated attribute"

clippy_lints/src/integer_division_remainder_used.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ declare_clippy_lint! {
2222
/// ```no_run
2323
/// let my_div = 10 >> 1;
2424
/// ```
25-
#[clippy::version = "1.78.0"]
25+
#[clippy::version = "1.79.0"]
2626
pub INTEGER_DIVISION_REMAINDER_USED,
2727
restriction,
2828
"use of disallowed default division and remainder operations"

clippy_lints/src/legacy_numeric_constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare_clippy_lint! {
2828
/// ```rust
2929
/// let eps = f32::EPSILON;
3030
/// ```
31-
#[clippy::version = "1.72.0"]
31+
#[clippy::version = "1.79.0"]
3232
pub LEGACY_NUMERIC_CONSTANTS,
3333
style,
3434
"checks for usage of legacy std numeric constants and methods"

clippy_lints/src/manual_unwrap_or_default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare_clippy_lint! {
4343
/// let x: Option<Vec<String>> = Some(Vec::new());
4444
/// let y: Vec<String> = x.unwrap_or_default();
4545
/// ```
46-
#[clippy::version = "1.78.0"]
46+
#[clippy::version = "1.79.0"]
4747
pub MANUAL_UNWRAP_OR_DEFAULT,
4848
suspicious,
4949
"check if a `match` or `if let` can be simplified with `unwrap_or_default`"

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4085,7 +4085,7 @@ declare_clippy_lint! {
40854085
/// ```no_run
40864086
/// println!("the string is empty");
40874087
/// ```
4088-
#[clippy::version = "1.78.0"]
4088+
#[clippy::version = "1.79.0"]
40894089
pub CONST_IS_EMPTY,
40904090
suspicious,
40914091
"is_empty() called on strings known at compile time"

clippy_lints/src/transmute/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ declare_clippy_lint! {
546546
/// let x = std::mem::transmute::<[u16; 2], i32>([1u16, 2u16]);
547547
/// # }
548548
/// ```
549-
#[clippy::version = "1.77.0"]
549+
#[clippy::version = "1.79.0"]
550550
pub MISSING_TRANSMUTE_ANNOTATIONS,
551551
suspicious,
552552
"warns if a transmute call doesn't have all generics specified"

clippy_lints/src/zero_repeat_side_effects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare_clippy_lint! {
3636
/// side_effect();
3737
/// let a: [i32; 0] = [];
3838
/// ```
39-
#[clippy::version = "1.75.0"]
39+
#[clippy::version = "1.79.0"]
4040
pub ZERO_REPEAT_SIDE_EFFECTS,
4141
suspicious,
4242
"usage of zero-sized initializations of arrays or vecs causing side effects"

0 commit comments

Comments
 (0)