rust/clippy_lints/src
2023-07-08 13:11:56 -05:00
..
cargo
casts Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
functions
loops Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
matches Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
methods new lint: read_line_without_trim 2023-07-03 22:51:38 +02:00
misc_early Add note to remove if statement altogether 2023-06-27 20:10:31 -05:00
operators Make eq_op suggest .is_nan() 2023-06-30 11:43:02 -05:00
transmute
types
unit_types
utils Auto merge of #11058 - Centri3:typos, r=xFrednet 2023-07-02 12:11:30 +00:00
allow_attributes.rs
almost_complete_range.rs
approx_const.rs
arc_with_non_send_sync.rs arc_with_non_send_sync: reword and move to suspicious 2023-07-07 12:02:05 +00:00
as_conversions.rs
asm_syntax.rs
assertions_on_constants.rs
assertions_on_result_states.rs
async_yields_async.rs
attrs.rs
await_holding_invalid.rs
blocks_in_if_conditions.rs
bool_assert_comparison.rs
bool_to_int_with_if.rs
booleans.rs
borrow_deref_ref.rs
box_default.rs
checked_conversions.rs
cognitive_complexity.rs
collapsible_if.rs
collection_is_never_read.rs
comparison_chain.rs
copies.rs
copy_iterator.rs
crate_in_macro_def.rs
create_dir.rs
dbg_macro.rs
declared_lints.rs use other instead of self 2023-07-08 13:02:54 -05:00
default_constructed_unit_structs.rs
default_instead_of_iter_empty.rs
default_numeric_fallback.rs
default_union_representation.rs
default.rs
deprecated_lints.rs
dereference.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
derivable_impls.rs fix internal lints 2023-06-14 17:15:57 +02:00
derive.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
disallowed_macros.rs
disallowed_methods.rs
disallowed_names.rs
disallowed_script_idents.rs
disallowed_types.rs
doc.rs Exlude todo!() from missing_panics_in_doc 2023-06-17 23:20:33 +08:00
double_parens.rs
drop_forget_ref.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
duplicate_mod.rs
else_if_without_else.rs
empty_drop.rs
empty_enum.rs
empty_structs_with_brackets.rs
endian_bytes.rs
entry.rs
enum_clike.rs Fix #10792 2023-06-17 17:03:31 -03:00
enum_variants.rs
equatable_if_let.rs
escape.rs
eta_reduction.rs
excessive_bools.rs
excessive_nesting.rs
exhaustive_items.rs
exit.rs
explicit_write.rs
extra_unused_type_parameters.rs Avoid linting on procedural macros 2023-06-24 19:45:16 -03:00
fallible_impl_from.rs
float_literal.rs Don't lint excessive_precision on inf 2023-06-15 06:16:04 -05:00
floating_point_arithmetic.rs Fix #10792 2023-06-17 17:03:31 -03:00
fn_null_check.rs
format_args.rs
format_impl.rs
format_push_string.rs [format_push_string]: look through match, if, if-let 2023-06-24 19:54:12 +02:00
format.rs
formatting.rs
from_over_into.rs Auto merge of #10840 - Alexendoo:from-over-into-expanded-path, r=dswij 2023-06-15 07:14:40 +00:00
from_raw_with_void_ptr.rs
from_str_radix_10.rs
future_not_send.rs Migrate item_bounds to ty::Clause 2023-06-22 18:34:23 +00:00
if_let_mutex.rs
if_not_else.rs
if_then_some_else_none.rs
implicit_hasher.rs
implicit_return.rs
implicit_saturating_add.rs
implicit_saturating_sub.rs
inconsistent_struct_constructor.rs
incorrect_impls.rs refactor 2023-07-08 13:11:56 -05:00
index_refutable_slice.rs
indexing_slicing.rs
infinite_iter.rs
inherent_impl.rs
inherent_to_string.rs
init_numbered_fields.rs
inline_fn_without_body.rs
instant_subtraction.rs
int_plus_one.rs
invalid_upcast_comparisons.rs
items_after_statements.rs
items_after_test_module.rs Ignore in-proc-macros items 2023-06-19 20:50:24 +02:00
iter_not_returning_iterator.rs
large_const_arrays.rs
large_enum_variant.rs
large_futures.rs
large_include_file.rs
large_stack_arrays.rs
large_stack_frames.rs
len_zero.rs
let_if_seq.rs
let_underscore.rs
let_with_type_underscore.rs
lib.deprecated.rs
lib.rs use other instead of self 2023-07-08 13:02:54 -05:00
lifetimes.rs [needless_lifetimes]' suggestion now points at the lifetimes 2023-06-13 14:05:22 -05:00
lines_filter_map_ok.rs
literal_representation.rs
macro_use.rs
main_recursion.rs
manual_assert.rs
manual_async_fn.rs
manual_bits.rs
manual_clamp.rs
manual_is_ascii_check.rs
manual_let_else.rs Move pat_and_expr_can_be_question_mark into clippy_utils 2023-07-03 09:42:54 +02:00
manual_main_separator_str.rs
manual_non_exhaustive.rs
manual_range_patterns.rs manual_range_pattern -> manual_range_patterns 2023-06-27 22:35:54 +02:00
manual_rem_euclid.rs Fix the now stricter lint in manual_rem_euclid.rs 2023-06-30 18:01:28 +02:00
manual_retain.rs
manual_slice_size_calculation.rs
manual_string_new.rs
manual_strip.rs
map_unit_fn.rs
match_result_ok.rs
mem_replace.rs
min_ident_chars.rs Fix typos 2023-07-02 07:11:05 -05:00
minmax.rs Fix #10792 2023-06-17 17:03:31 -03:00
misc.rs
mismatching_type_param_order.rs
missing_assert_message.rs
missing_const_for_fn.rs
missing_doc.rs
missing_enforced_import_rename.rs
missing_fields_in_debug.rs [missing_fields_in_debug]: make sure self is an adt 2023-07-02 21:42:39 +02:00
missing_inline.rs
missing_trait_methods.rs
mixed_read_write_in_expression.rs
module_style.rs Move continue into if statement 2023-06-19 08:36:27 +08:00
multi_assignments.rs
multiple_unsafe_ops_per_block.rs
mut_key.rs
mut_mut.rs
mut_reference.rs
mutable_debug_assertion.rs
mutex_atomic.rs
needless_arbitrary_self_type.rs
needless_bool.rs
needless_borrowed_ref.rs
needless_continue.rs
needless_else.rs Fix typos 2023-07-02 07:11:05 -05:00
needless_for_each.rs
needless_if.rs
needless_late_init.rs
needless_parens_on_range_literals.rs
needless_pass_by_value.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +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
no_mangle_with_rust_abi.rs
non_copy_const.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
non_expressive_names.rs
non_octal_unix_permissions.rs
non_send_fields_in_send_ty.rs
nonstandard_macro_braces.rs
octal_escapes.rs
only_used_in_recursion.rs
option_env_unwrap.rs
option_if_let_else.rs [option_if_let_else]: suggest .as_ref() if &Option<_> 2023-06-26 20:13:06 +02:00
overflow_check_conditional.rs
panic_in_result_fn.rs
panic_unimplemented.rs
partial_pub_fields.rs
partialeq_ne_impl.rs
partialeq_to_none.rs
pass_by_ref_or_value.rs
pattern_type_mismatch.rs
permissions_set_readonly_false.rs
precedence.rs
ptr_offset_with_cast.rs
ptr.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
pub_use.rs
question_mark_used.rs
question_mark.rs Move pat_and_expr_can_be_question_mark into clippy_utils 2023-07-03 09:42:54 +02:00
ranges.rs Fix #10792 2023-06-17 17:03:31 -03:00
raw_strings.rs Fix FP [needless_raw_string_hashes] 2023-07-03 06:35:04 -05:00
rc_clone_in_vec_init.rs
read_zero_byte_vec.rs
redundant_async_block.rs
redundant_clone.rs use PlaceRef abstractions 2023-06-19 03:44:04 -04:00
redundant_closure_call.rs don't unnecessarily walk more in visitor and add more tests 2023-06-15 22:04:25 +02:00
redundant_else.rs
redundant_field_names.rs
redundant_pub_crate.rs
redundant_slicing.rs
redundant_static_lifetimes.rs
redundant_type_annotations.rs
ref_option_ref.rs
ref_patterns.rs
reference.rs
regex.rs Fix regex lints for regex 1.9.0 2023-07-05 18:29:43 +00:00
renamed_lints.rs
return_self_not_must_use.rs
returns.rs let_and_return: lint 'static lifetimes, don't lint borrows in closures 2023-07-02 14:25:40 +00:00
same_name_method.rs
self_named_constructors.rs
semicolon_block.rs
semicolon_if_nothing_returned.rs
serde_api.rs
shadow.rs
significant_drop_tightening.rs Dogfood 2023-06-29 09:30:04 -03:00
single_call_fn.rs Ignore functions annotated with #[test] 2023-06-18 19:32:38 -05:00
single_char_lifetime_names.rs
single_component_path_imports.rs
single_range_in_vec_init.rs refactor a bit 2023-06-14 08:41:20 -05:00
size_of_in_element_count.rs
size_of_ref.rs
slow_vector_initialization.rs
std_instead_of_core.rs
strings.rs
strlen_on_c_strings.rs
suspicious_doc_comments.rs
suspicious_operation_groupings.rs
suspicious_trait_impl.rs
suspicious_xor_used_as_pow.rs
swap_ptr_to_ref.rs
swap.rs
tabs_in_doc_comments.rs
temporary_assignment.rs
tests_outside_test_module.rs
to_digit_is_some.rs
trailing_empty_array.rs
trait_bounds.rs rename MSRV alias, add MSRV to lint doc 2023-06-22 17:19:43 +02:00
tuple_array_conversions.rs heavily refactor 2023-06-29 06:46:28 -05:00
undocumented_unsafe_blocks.rs allow safety comment above attributes 2023-06-19 23:46:57 -05:00
unicode.rs
uninit_vec.rs
unit_return_expecting_ord.rs Migrate predicates_of and caller_bounds to Clause 2023-06-26 23:12:03 +00:00
unnamed_address.rs
unnecessary_box_returns.rs
unnecessary_owned_empty_strings.rs
unnecessary_self_imports.rs
unnecessary_struct_initialization.rs
unnecessary_wraps.rs
unnested_or_patterns.rs
unsafe_removed_from_name.rs
unused_async.rs move is_in_trait_method to utils and rename 2023-06-28 11:35:10 +02:00
unused_io_amount.rs
unused_peekable.rs
unused_rounding.rs
unused_self.rs
unused_unit.rs
unwrap_in_result.rs
unwrap.rs
upper_case_acronyms.rs Add msrv check and make test pass 2023-06-29 06:46:28 -05:00
use_self.rs
useless_conversion.rs Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
vec_init_then_push.rs
vec.rs [useless_vec]: add more tests for macro combinations 2023-07-03 19:48:27 +02:00
visibility.rs Change category and update to ui_test 2023-06-28 03:20:21 -05:00
wildcard_imports.rs
write.rs
zero_div_zero.rs
zero_sized_map_values.rs