Skip to content

Commit e3a09ec

Browse files
committed
Update version attribute for 1.67 lints
1 parent aa0eb7f commit e3a09ec

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

clippy_lints/src/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ declare_clippy_lint! {
251251
/// unimplemented!();
252252
/// }
253253
/// ```
254-
#[clippy::version = "1.66.0"]
254+
#[clippy::version = "1.67.0"]
255255
pub UNNECESSARY_SAFETY_DOC,
256256
restriction,
257257
"`pub fn` or `pub trait` with `# Safety` docs"

clippy_lints/src/from_raw_with_void_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare_clippy_lint! {
3131
/// let _ = unsafe { Box::from_raw(ptr as *mut usize) };
3232
/// ```
3333
///
34-
#[clippy::version = "1.66.0"]
34+
#[clippy::version = "1.67.0"]
3535
pub FROM_RAW_WITH_VOID_PTR,
3636
suspicious,
3737
"creating a `Box` from a void raw pointer"

clippy_lints/src/instant_subtraction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ declare_clippy_lint! {
5959
///
6060
/// [`Duration`]: std::time::Duration
6161
/// [`Instant::now()`]: std::time::Instant::now;
62-
#[clippy::version = "1.65.0"]
62+
#[clippy::version = "1.67.0"]
6363
pub UNCHECKED_DURATION_SUBTRACTION,
6464
pedantic,
6565
"finds unchecked subtraction of a 'Duration' from an 'Instant'"

clippy_lints/src/let_underscore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ declare_clippy_lint! {
8484
/// let _ = foo().await;
8585
/// # }
8686
/// ```
87-
#[clippy::version = "1.66"]
87+
#[clippy::version = "1.67.0"]
8888
pub LET_UNDERSCORE_FUTURE,
8989
suspicious,
9090
"non-binding `let` on a future"

clippy_lints/src/manual_is_ascii_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare_clippy_lint! {
4343
/// 'A'.is_ascii_uppercase();
4444
/// }
4545
/// ```
46-
#[clippy::version = "1.66.0"]
46+
#[clippy::version = "1.67.0"]
4747
pub MANUAL_IS_ASCII_CHECK,
4848
style,
4949
"use dedicated method to check ascii range"

clippy_lints/src/methods/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,7 @@ declare_clippy_lint! {
31023102
/// Ok(())
31033103
/// }
31043104
/// ```
3105-
#[clippy::version = "1.66.0"]
3105+
#[clippy::version = "1.67.0"]
31063106
pub SEEK_FROM_CURRENT,
31073107
complexity,
31083108
"use dedicated method for seek from current position"
@@ -3133,7 +3133,7 @@ declare_clippy_lint! {
31333133
/// t.rewind();
31343134
/// }
31353135
/// ```
3136-
#[clippy::version = "1.66.0"]
3136+
#[clippy::version = "1.67.0"]
31373137
pub SEEK_TO_START_INSTEAD_OF_REWIND,
31383138
complexity,
31393139
"jumping to the start of stream using `seek` method"

clippy_lints/src/suspicious_xor_used_as_pow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ declare_clippy_lint! {
1818
/// ```rust
1919
/// let x = 3_i32.pow(4);
2020
/// ```
21-
#[clippy::version = "1.66.0"]
21+
#[clippy::version = "1.67.0"]
2222
pub SUSPICIOUS_XOR_USED_AS_POW,
2323
restriction,
2424
"XOR (`^`) operator possibly used as exponentiation operator"

0 commit comments

Comments
 (0)