Skip to content

Commit 7fb76a1

Browse files
committed
Update version attribute for 1.68 lints
1 parent 2d9ca94 commit 7fb76a1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

clippy_lints/src/almost_complete_range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare_clippy_lint! {
2424
/// ```rust
2525
/// let _ = 'a'..='z';
2626
/// ```
27-
#[clippy::version = "1.63.0"]
27+
#[clippy::version = "1.68.0"]
2828
pub ALMOST_COMPLETE_RANGE,
2929
suspicious,
3030
"almost complete range"

clippy_lints/src/fn_null_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ declare_clippy_lint! {
2525
///
2626
/// if fn_ptr.is_none() { ... }
2727
/// ```
28-
#[clippy::version = "1.67.0"]
28+
#[clippy::version = "1.68.0"]
2929
pub FN_NULL_CHECK,
3030
correctness,
3131
"`fn()` type assumed to be nullable"

clippy_lints/src/permissions_set_readonly_false.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ declare_clippy_lint! {
2121
/// let mut permissions = metadata.permissions();
2222
/// permissions.set_readonly(false);
2323
/// ```
24-
#[clippy::version = "1.66.0"]
24+
#[clippy::version = "1.68.0"]
2525
pub PERMISSIONS_SET_READONLY_FALSE,
2626
suspicious,
2727
"Checks for calls to `std::fs::Permissions.set_readonly` with argument `false`"

clippy_lints/src/size_of_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare_clippy_lint! {
4545
/// }
4646
/// }
4747
/// ```
48-
#[clippy::version = "1.67.0"]
48+
#[clippy::version = "1.68.0"]
4949
pub SIZE_OF_REF,
5050
suspicious,
5151
"Argument to `std::mem::size_of_val()` is a double-reference, which is almost certainly unintended"

clippy_lints/src/transmute/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ declare_clippy_lint! {
458458
/// ```rust
459459
/// let null_fn: Option<fn()> = None;
460460
/// ```
461-
#[clippy::version = "1.67.0"]
461+
#[clippy::version = "1.68.0"]
462462
pub TRANSMUTE_NULL_TO_FN,
463463
correctness,
464464
"transmute results in a null function pointer, which is undefined behavior"

0 commit comments

Comments
 (0)