mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Temporarily move clippy::unused_peekable to nursery
This commit is contained in:
parent
cf043f6a16
commit
525e0c86bc
4 changed files with 2 additions and 3 deletions
|
@ -344,7 +344,6 @@ store.register_group(true, "clippy::all", Some("clippy_all"), vec![
|
||||||
LintId::of(unnecessary_owned_empty_strings::UNNECESSARY_OWNED_EMPTY_STRINGS),
|
LintId::of(unnecessary_owned_empty_strings::UNNECESSARY_OWNED_EMPTY_STRINGS),
|
||||||
LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
|
LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
|
||||||
LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
|
LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
|
||||||
LintId::of(unused_peekable::UNUSED_PEEKABLE),
|
|
||||||
LintId::of(unused_unit::UNUSED_UNIT),
|
LintId::of(unused_unit::UNUSED_UNIT),
|
||||||
LintId::of(unwrap::PANICKING_UNWRAP),
|
LintId::of(unwrap::PANICKING_UNWRAP),
|
||||||
LintId::of(unwrap::UNNECESSARY_UNWRAP),
|
LintId::of(unwrap::UNNECESSARY_UNWRAP),
|
||||||
|
|
|
@ -31,6 +31,7 @@ store.register_group(true, "clippy::nursery", Some("clippy_nursery"), vec![
|
||||||
LintId::of(suspicious_operation_groupings::SUSPICIOUS_OPERATION_GROUPINGS),
|
LintId::of(suspicious_operation_groupings::SUSPICIOUS_OPERATION_GROUPINGS),
|
||||||
LintId::of(trailing_empty_array::TRAILING_EMPTY_ARRAY),
|
LintId::of(trailing_empty_array::TRAILING_EMPTY_ARRAY),
|
||||||
LintId::of(transmute::TRANSMUTE_UNDEFINED_REPR),
|
LintId::of(transmute::TRANSMUTE_UNDEFINED_REPR),
|
||||||
|
LintId::of(unused_peekable::UNUSED_PEEKABLE),
|
||||||
LintId::of(unused_rounding::UNUSED_ROUNDING),
|
LintId::of(unused_rounding::UNUSED_ROUNDING),
|
||||||
LintId::of(use_self::USE_SELF),
|
LintId::of(use_self::USE_SELF),
|
||||||
])
|
])
|
||||||
|
|
|
@ -35,6 +35,5 @@ store.register_group(true, "clippy::suspicious", Some("clippy_suspicious"), vec!
|
||||||
LintId::of(suspicious_trait_impl::SUSPICIOUS_ARITHMETIC_IMPL),
|
LintId::of(suspicious_trait_impl::SUSPICIOUS_ARITHMETIC_IMPL),
|
||||||
LintId::of(suspicious_trait_impl::SUSPICIOUS_OP_ASSIGN_IMPL),
|
LintId::of(suspicious_trait_impl::SUSPICIOUS_OP_ASSIGN_IMPL),
|
||||||
LintId::of(swap_ptr_to_ref::SWAP_PTR_TO_REF),
|
LintId::of(swap_ptr_to_ref::SWAP_PTR_TO_REF),
|
||||||
LintId::of(unused_peekable::UNUSED_PEEKABLE),
|
|
||||||
LintId::of(write::POSITIONAL_NAMED_FORMAT_PARAMETERS),
|
LintId::of(write::POSITIONAL_NAMED_FORMAT_PARAMETERS),
|
||||||
])
|
])
|
||||||
|
|
|
@ -38,7 +38,7 @@ declare_clippy_lint! {
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.64.0"]
|
#[clippy::version = "1.64.0"]
|
||||||
pub UNUSED_PEEKABLE,
|
pub UNUSED_PEEKABLE,
|
||||||
suspicious,
|
nursery,
|
||||||
"creating a peekable iterator without using any of its methods"
|
"creating a peekable iterator without using any of its methods"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue