Skip to content

Commit 2532c56

Browse files
committed
Update version attribute for 1.66 lints
1 parent 1207480 commit 2532c56

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

clippy_lints/src/box_default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ declare_clippy_lint! {
3030
/// ```rust
3131
/// let x: Box<String> = Box::default();
3232
/// ```
33-
#[clippy::version = "1.65.0"]
33+
#[clippy::version = "1.66.0"]
3434
pub BOX_DEFAULT,
3535
perf,
3636
"Using Box::new(T::default()) instead of Box::default()"

clippy_lints/src/casts/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ declare_clippy_lint! {
641641
/// ```rust,ignore
642642
/// let _: = 0_u64;
643643
/// ```
644-
#[clippy::version = "1.64.0"]
644+
#[clippy::version = "1.66.0"]
645645
pub CAST_NAN_TO_INT,
646646
suspicious,
647647
"casting a known floating-point NaN into an integer"

clippy_lints/src/disallowed_macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ declare_clippy_lint! {
4747
/// value: usize,
4848
/// }
4949
/// ```
50-
#[clippy::version = "1.65.0"]
50+
#[clippy::version = "1.66.0"]
5151
pub DISALLOWED_MACROS,
5252
style,
5353
"use of a disallowed macro"

clippy_lints/src/format_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ declare_clippy_lint! {
122122
///
123123
/// If a format string contains a numbered argument that cannot be inlined
124124
/// nothing will be suggested, e.g. `println!("{0}={1}", var, 1+2)`.
125-
#[clippy::version = "1.65.0"]
125+
#[clippy::version = "1.66.0"]
126126
pub UNINLINED_FORMAT_ARGS,
127127
style,
128128
"using non-inlined variables in `format!` calls"

clippy_lints/src/implicit_saturating_add.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare_clippy_lint! {
3131
///
3232
/// u = u.saturating_add(1);
3333
/// ```
34-
#[clippy::version = "1.65.0"]
34+
#[clippy::version = "1.66.0"]
3535
pub IMPLICIT_SATURATING_ADD,
3636
style,
3737
"Perform saturating addition instead of implicitly checking max bound of data type"

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3059,7 +3059,7 @@ declare_clippy_lint! {
30593059
/// let map: HashMap<u32, u32> = HashMap::new();
30603060
/// let values = map.values().collect::<Vec<_>>();
30613061
/// ```
3062-
#[clippy::version = "1.65.0"]
3062+
#[clippy::version = "1.66.0"]
30633063
pub ITER_KV_MAP,
30643064
complexity,
30653065
"iterating on map using `iter` when `keys` or `values` would do"

0 commit comments

Comments
 (0)