Update version attributes for 1.83 lints
This commit is contained in:
parent
a19d69d273
commit
78d0a2aaac
5 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ declare_clippy_lint! {
|
|||
/// let y: i32 = 4;
|
||||
/// let div = x.div_ceil(y);
|
||||
/// ```
|
||||
#[clippy::version = "1.81.0"]
|
||||
#[clippy::version = "1.83.0"]
|
||||
pub MANUAL_DIV_CEIL,
|
||||
complexity,
|
||||
"manually reimplementing `div_ceil`"
|
||||
|
|
|
@ -27,7 +27,7 @@ declare_clippy_lint! {
|
|||
/// let a: u32 = 4;
|
||||
/// let result = a.is_power_of_two();
|
||||
/// ```
|
||||
#[clippy::version = "1.82.0"]
|
||||
#[clippy::version = "1.83.0"]
|
||||
pub MANUAL_IS_POWER_OF_TWO,
|
||||
pedantic,
|
||||
"manually reimplementing `is_power_of_two`"
|
||||
|
|
|
@ -114,7 +114,7 @@ declare_clippy_lint! {
|
|||
/// let _ = FooStruct{};
|
||||
/// }
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
#[clippy::version = "1.83.0"]
|
||||
pub USED_UNDERSCORE_ITEMS,
|
||||
pedantic,
|
||||
"using a item which is prefixed with an underscore"
|
||||
|
|
|
@ -39,7 +39,7 @@ declare_clippy_lint! {
|
|||
/// let r2 = x % NonZeroU64::from(y);
|
||||
/// }
|
||||
/// ```
|
||||
#[clippy::version = "1.81.0"]
|
||||
#[clippy::version = "1.83.0"]
|
||||
pub NON_ZERO_SUGGESTIONS,
|
||||
restriction,
|
||||
"suggests using `NonZero#` from `u#` or `i#` for more efficient and type-safe conversions"
|
||||
|
|
|
@ -35,7 +35,7 @@ declare_clippy_lint! {
|
|||
/// let mut child = Command::new("ls").spawn().expect("failed to execute child");
|
||||
/// child.wait().expect("failed to wait on child");
|
||||
/// ```
|
||||
#[clippy::version = "1.74.0"]
|
||||
#[clippy::version = "1.83.0"]
|
||||
pub ZOMBIE_PROCESSES,
|
||||
suspicious,
|
||||
"not waiting on a spawned child process"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue