rust/clippy_lints/src
2021-09-27 22:23:17 -07:00
..
casts Merge remote-tracking branch 'upstream/master' into rustup 2021-09-08 10:51:27 +02:00
functions Fix dogfood 2021-09-02 12:39:54 +01:00
loops Change the suggestion for while_let_on_iterator when the iterator cannot be consumed to iter.by_ref() 2021-09-17 21:44:21 -04:00
methods add #4546 test 2021-09-22 16:04:04 +08:00
misc_early
transmute
types Avoid needless heap allocation in box_collection 2021-09-24 11:02:22 +02:00
unit_types
utils Add new lint if_then_panic 2021-09-24 22:14:20 +08:00
absurd_extreme_comparisons.rs
approx_const.rs Add TAU to approx_constant 2021-09-07 05:50:04 +02:00
arithmetic.rs
as_conversions.rs
asm_syntax.rs
assertions_on_constants.rs Fix dogfood 2021-09-02 12:39:54 +01:00
assign_ops.rs
async_yields_async.rs
attrs.rs
await_holding_invalid.rs
bit_mask.rs
blacklisted_name.rs
blocks_in_if_conditions.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
bool_assert_comparison.rs Fix function and variable names 2021-08-31 09:06:14 +02:00
booleans.rs
bytecount.rs
cargo_common_metadata.rs
case_sensitive_file_extension_comparisons.rs
checked_conversions.rs
cognitive_complexity.rs
collapsible_if.rs
collapsible_match.rs Fix fallout from re-applying patches 2021-09-02 13:04:47 +01:00
comparison_chain.rs
copies.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
copy_iterator.rs
create_dir.rs
dbg_macro.rs
default_numeric_fallback.rs
default.rs
deprecated_lints.rs
dereference.rs
derivable_impls.rs fix derivable impl false positives 2021-09-10 19:49:02 +04:30
derive.rs
disallowed_method.rs Allow giving reasons for disallowed_methods 2021-09-08 21:12:02 -04:00
disallowed_script_idents.rs
disallowed_type.rs Eat dogfood 2021-09-09 17:10:59 -05:00
doc.rs
double_comparison.rs
double_parens.rs
drop_forget_ref.rs
duration_subsec.rs
else_if_without_else.rs
empty_enum.rs
entry.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
enum_clike.rs
enum_variants.rs
eq_op.rs
erasing_op.rs
escape.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
eta_reduction.rs Fix redundant closure bugs 2021-09-09 17:10:59 -05:00
eval_order_dependence.rs Fix documentation of eval_order_dependence 2021-09-04 21:07:25 +09:00
excessive_bools.rs
exhaustive_items.rs
exit.rs
explicit_write.rs
fallible_impl_from.rs
feature_name.rs
float_equality_without_abs.rs
float_literal.rs Stop suggesting a float truncation that is not shorter 2021-09-25 22:55:23 -07:00
floating_point_arithmetic.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
format.rs Eat dogfood 2021-09-09 17:10:59 -05:00
formatting.rs Don't lint suspicious_else_formatting inside proc-macros 2021-09-23 01:13:21 -04:00
from_over_into.rs
from_str_radix_10.rs
future_not_send.rs
get_last_with_len.rs
identity_op.rs
if_let_mutex.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
if_not_else.rs
if_then_panic.rs Add new lint if_then_panic 2021-09-24 22:14:20 +08:00
if_then_some_else_none.rs
implicit_hasher.rs
implicit_return.rs
implicit_saturating_sub.rs
inconsistent_struct_constructor.rs
indexing_slicing.rs
infinite_iter.rs
inherent_impl.rs
inherent_to_string.rs
inline_fn_without_body.rs
int_plus_one.rs
integer_division.rs
invalid_upcast_comparisons.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
items_after_statements.rs
iter_not_returning_iterator.rs add new lint iter_not_returning_iterator 2021-09-09 09:21:38 +08:00
large_const_arrays.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
large_enum_variant.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
large_stack_arrays.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
len_zero.rs
let_if_seq.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
let_underscore.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
lib.rs Adding new linting 2021-09-27 22:23:17 -07:00
lifetimes.rs
literal_representation.rs
macro_use.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-09-08 10:51:27 +02:00
main_recursion.rs
manual_async_fn.rs
manual_map.rs Fix manual_match with let-expressions 2021-09-02 12:38:59 +01:00
manual_non_exhaustive.rs
manual_ok_or.rs
manual_strip.rs
manual_unwrap_or.rs
map_clone.rs
map_err_ignore.rs
map_unit_fn.rs
match_on_vec_items.rs
match_result_ok.rs Adding new linting 2021-09-27 22:23:17 -07:00
matches.rs clippy lints: update doctest ranges to inclusive ones 2021-09-25 22:40:58 +02:00
mem_discriminant.rs
mem_forget.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
mem_replace.rs add derivable impls lint 2021-09-05 01:25:59 +04:30
minmax.rs
misc.rs Demote float_cmp to pedantic 2021-09-21 12:25:47 -07:00
missing_const_for_fn.rs
missing_doc.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
missing_enforced_import_rename.rs
missing_inline.rs Teach tools that macros are now HIR items 2021-08-28 00:24:39 -07:00
module_style.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
modulo_arithmetic.rs
multiple_crate_versions.rs
mut_key.rs Fix FN for collections/smart ptrs in std 2021-09-14 16:51:09 +01:00
mut_mut.rs
mut_mutex_lock.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
mut_reference.rs
mutable_debug_assertion.rs
mutex_atomic.rs
needless_arbitrary_self_type.rs
needless_bitwise_bool.rs
needless_bool.rs
needless_borrow.rs Fix needless_borrow not linting mutable reference 2021-09-13 12:29:24 +08:00
needless_borrowed_ref.rs
needless_continue.rs
needless_for_each.rs
needless_option_as_deref.rs Update clippy_lints/src/needless_option_as_deref.rs 2021-09-05 08:33:04 +08:00
needless_pass_by_value.rs update TypeFlags to deal with missing ct substs 2021-08-26 11:00:30 +02:00
needless_question_mark.rs
needless_update.rs
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
new_without_default.rs
no_effect.rs Auto merge of #7453 - F3real:assume_function_calls_have_side_effect, r=flip1995 2021-08-25 08:31:20 +00:00
non_copy_const.rs make unevaluated const substs optional 2021-08-26 11:00:30 +02:00
non_expressive_names.rs Downgrade many_single_char_names to pedantic 2021-09-14 09:59:06 -07:00
non_octal_unix_permissions.rs
nonstandard_macro_braces.rs
open_options.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
option_env_unwrap.rs
option_if_let_else.rs Fix fallout from re-applying patches 2021-09-02 13:04:47 +01:00
overflow_check_conditional.rs
panic_in_result_fn.rs
panic_unimplemented.rs
partialeq_ne_impl.rs
pass_by_ref_or_value.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
path_buf_push_overwrite.rs
pattern_type_mismatch.rs Fix dogfood 2021-09-02 12:39:54 +01:00
precedence.rs
ptr_eq.rs
ptr_offset_with_cast.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
ptr.rs Eat dogfood 2021-09-09 17:10:59 -05:00
question_mark.rs Fix dogfood 2021-09-02 12:39:54 +01:00
ranges.rs Fix dogfood 2021-09-02 12:39:54 +01:00
redundant_clone.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
redundant_closure_call.rs Fix dogfood 2021-09-02 12:39:54 +01:00
redundant_else.rs
redundant_field_names.rs
redundant_pub_crate.rs
redundant_slicing.rs
redundant_static_lifetimes.rs
ref_option_ref.rs
reference.rs
regex.rs
repeat_once.rs
returns.rs Fix needless_return with let-else 2021-09-18 09:42:51 -05:00
same_name_method.rs same_name_method 2021-09-14 09:20:27 +08:00
self_assignment.rs
self_named_constructors.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
semicolon_if_nothing_returned.rs
serde_api.rs
shadow.rs
single_component_path_imports.rs
size_of_in_element_count.rs
slow_vector_initialization.rs
stable_sort_primitive.rs
strings.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
strlen_on_c_strings.rs
suspicious_operation_groupings.rs
suspicious_trait_impl.rs
swap.rs
tabs_in_doc_comments.rs
temporary_assignment.rs
to_digit_is_some.rs
to_string_in_display.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
trait_bounds.rs
transmuting_null.rs
try_err.rs
undropped_manually_drops.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
unicode.rs
unit_return_expecting_ord.rs
unnamed_address.rs
unnecessary_self_imports.rs
unnecessary_sort_by.rs Merge remote-tracking branch 'upstream/master' into rustup2 2021-09-02 12:38:17 +01:00
unnecessary_wraps.rs
unnested_or_patterns.rs
unsafe_removed_from_name.rs
unused_async.rs Fix dogfood 2021-09-02 12:39:54 +01:00
unused_io_amount.rs Avoid slice indexing in Clippy (down with the ICEs) 2021-09-05 14:50:13 +02:00
unused_self.rs
unused_unit.rs
unwrap_in_result.rs
unwrap.rs Adjust the output of unnecessary_unwrap and provide a suggestion 2021-09-02 20:52:16 -04:00
upper_case_acronyms.rs
use_self.rs add tcx to fn walk 2021-08-26 11:00:30 +02:00
useless_conversion.rs
vec_init_then_push.rs
vec_resize_to_zero.rs
vec.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-09-08 10:51:27 +02:00
verbose_file_reads.rs
wildcard_dependencies.rs
wildcard_imports.rs
write.rs
zero_div_zero.rs
zero_sized_map_values.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00