All notable changes to this project will be documented in this file.
cast_ptr_alignment
, transmute_ptr_to_ptr
, write_literal
, write_with_newline
, writeln_empty_string
print_literal
while_immutable_condition
redundant_field_names
, suspicious_arithmetic_impl
, suspicious_op_assign_impl
question_mark
double_comparisons
, empty_line_after_outer_attr
misaligned_transmute
decimal_literal_representation
else_if_without_else
, option_option
, unit_arg
, unnecessary_fold
unit_expr
]needless_pass_by_value
match_as_ref
just_underscores_and_digits
, result_map_unwrap_or_else
, transmute_bytes_to_str
const_static_lifetime
, erasing_op
, fallible_impl_from
, println_empty_string
, useless_asref
explicit_write
, identity_conversion
, implicit_hasher
, invalid_ref
, option_map_or_none
, range_minus_one
, range_plus_one
, transmute_int_to_bool
, transmute_int_to_char
, transmute_int_to_float
mut_range_bound
int_plus_one
chars_last_cmp
needless_borrow
, ptr_arg
,clone_on_ref_ptr
manual_memcpy
cast_lossless
no longer has redundant parentheses in its suggestionsunit_expr
]infinite_iter
, maybe_infinite_iter
, cast_lossless
use_self
triggering inside derivescargo clippy --all
naive_bytecount
use_self
unreadable_literal
, inconsistent_digit_grouping
, large_digit_groups
inline_always
panic_params
cargo clippy
crashing on dylib
projectsnested_while_let
and never_loop
doc_markdown
lint.range_step_by_zero
iterator_step_by_zero
needless_borrowed_reference
AsRef
/AsMut
arguments in wrong_self_convention
needless_continue
op_ref
cargo clippy
on 64 bit windows systemszero_ptr
, never_loop
, mut_from_ref
large_enum_variant
explicit_into_iter_loop
provides suggestionsCargo.toml
&&mut
by &ref
for (_, x) in &mut hash_map
-> for x in hash_map.values_mut()
unused_io_amount
, forget_ref
, short_circuit_statement
wrong_self_convention
deref_addrof
, double_parens
, pub_enum_variant_names
new_without_default
absurd_extreme_comparisons
string_extend_chars
get_unwrap
--sysroot
, which broke cargo clippy
cargo clippy
defines a cargo-clippy
feature. This was previously added for a short time under the name clippy
but removed for compatibility.cargo clippy --help
is more helping (and less helpful :smile:)if_let_redundant_pattern_matching
, partialeq_ne_impl
iter_skip_next
option_map_unwrap_or
and option_map_unwrap_or_else
are now allowed by default.explicit_into_iter_loop
clippy
lint groups: filter_next
, for_loop_over_option
, for_loop_over_result
and match_overlapping_arm
. You should now be able to #[allow/deny]
them individually and they are available directly through [cargo clippy
].builtin_type_shadow
zero_prefixed_literal
and 0b
/0o
missing_docs_in_private_items
, zero_prefixed_literal
useless_attribute
useless_attribute
ignores [unused_imports
] on use
statementsprint_with_newline
, useless_attribute
module_inception
eval_order_dependence
, mixed_case_hex_literals
, unseparated_literal_suffix
too_many_arguments
needless_borrow
clone_on_copy
wrong_self_convention
misrefactored_assign_op
, serde_api_misuse
wrong_transmute
, double_neg
, filter_map
cargo clippy
does not defines the clippy
feature introduced in 0.0.76 anymorecollapsible_if
now considers if let
cargo clippy
now automatically defines the clippy
featurenot_unsafe_ptr_arg_deref
cargo-clippy
JSON parsingCLIPPY_DISABLE_DOCS_LINKS
environment variable to deactivate the “for further information visit wiki-link” message.useless_let_if_seq
useless_let_if_seq
useless_let_if_seq
invalid_regex
and trivial_regex
can now warn on RegexSet::new
, RegexBuilder::new
and byte regexesused_underscore_binding
has been made Allow
temporarilyunnecessary_operation
cargo clippy
subcommandassign_op_pattern
, assign_ops
, needless_borrow
float_arithmetic
, integer_arithmetic
temporary_cstring_as_ptr
, unsafe_removed_from_name
, and mem_forget
invalid_upcast_comparisons
logic_bug
, nonminimal_bool
match_same_arms
now ignores arms with guardsuseless_vec
now warns on for … in vec![…]
doc_markdown
str_to_string
, string_to_string
, unstable_as_slice
, unstable_as_mut_slice
crosspointer_transmute
many_single_char_names
and similar_names
str
to types considered by len_zero
indexing_slicing
overflow_check_conditional
, unused_label
, new_without_default
needless_range_loop
with globalsredundant_closure_call