rust-clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
File Explorer
Showing a partial file list — download the zip above to see everything.
- config.toml
- blank_issue.yml
- bug_report.yml
- config.yml
- false_negative.yml
- false_positive.yml
- ice.yml
- new_lint.yml
- clippy_changelog.yml
- clippy_dev.yml
- clippy_mq.yml
- clippy_pr.yml
- deploy.yml
- lintcheck.yml
- lintcheck_summary.yml
- remark.yml
- deploy.sh
- driver.sh
- FUNDING.yml
- PULL_REQUEST_TEMPLATE.md
- github_actions.md
- gitlab.md
- README.md
- travis.md
- backport.md
- benchmarking.md
- book.md
- changelog_update.md
- README.md
- release.md
- sync.md
- README.md
- roadmap-2021.md
- syntax-tree-patterns.md
- adding_lints.md
- basics.md
- common_tools_writing_lints.md
- defining_lints.md
- emitting_lints.md
- lint_passes.md
- macro_expansions.md
- method_checking.md
- README.md
- speedtest.md
- the_team.md
- trait_checking.md
- type_checking.md
- writing_tests.md
- attribs.md
- configuration.md
- installation.md
- lint_configuration.md
- lints.md
- README.md
- SUMMARY.md
- usage.md
- book.toml
- README.md
- conf.rs
- de.rs
- lib.rs
- metadata.rs
- types.rs
- Cargo.toml
- cursor.rs
- git_hook.rs
- intellij.rs
- mod.rs
- toolchain.rs
- vscode.rs
- deprecate_lint.rs
- dogfood.rs
- edit_lints.rs
- fmt.rs
- generate.rs
- lib.rs
- lint.rs
- main.rs
- new_lint.rs
- parse.rs
- release.rs
- serve.rs
- sync.rs
- utils.rs
- Cargo.toml
- main.rs
- build.rs
- Cargo.toml
- crates-readme.md
- PUBLISH.md
- allow_attributes.rs
- allow_attributes_without_reason.rs
- blanket_clippy_restriction_lints.rs
- deprecated_cfg_attr.rs
- deprecated_semver.rs
- duplicated_attributes.rs
- inline_always.rs
- mixed_attributes_style.rs
- mod.rs
- non_minimal_cfg.rs
- repr_attributes.rs
- should_panic_without_expect.rs
- unnecessary_clippy_cfg.rs
- useless_attribute.rs
- utils.rs
- common_metadata.rs
- feature_name.rs
- lint_groups_priority.rs
- mod.rs
- multiple_crate_versions.rs
- wildcard_dependencies.rs
- as_pointer_underscore.rs
- as_ptr_cast_mut.rs
- as_underscore.rs
- borrow_as_ptr.rs
- cast_abs_to_unsigned.rs
- cast_enum_constructor.rs
- cast_lossless.rs
- cast_nan_to_int.rs
- cast_possible_truncation.rs
- cast_possible_wrap.rs
- cast_precision_loss.rs
- cast_ptr_alignment.rs
- cast_sign_loss.rs
- cast_slice_different_sizes.rs
- cast_slice_from_raw_parts.rs
- char_lit_as_u8.rs
- confusing_method_to_numeric_cast.rs
- fn_to_numeric_cast.rs
- fn_to_numeric_cast_any.rs
- fn_to_numeric_cast_with_truncation.rs
- manual_dangling_ptr.rs
- mod.rs
- needless_type_cast.rs
- ptr_as_ptr.rs
- ptr_cast_constness.rs
- ref_as_ptr.rs
- unnecessary_cast.rs
- utils.rs
- zero_ptr.rs
- derive_ord_xor_partial_ord.rs
- derive_partial_eq_without_eq.rs
- derived_hash_with_manual_eq.rs
- expl_impl_clone_on_copy.rs
- mod.rs
- unsafe_derive_deserialize.rs
- broken_link.rs
- doc_comment_double_space_linebreaks.rs
- doc_paragraphs_missing_punctuation.rs
- doc_suspicious_footnotes.rs
- include_in_doc_without_cfg.rs
- lazy_continuation.rs
- link_with_quotes.rs
- markdown.rs
- missing_headers.rs
- mod.rs
- needless_doctest_main.rs
- suspicious_doc_comments.rs
- test_attr_in_doctest.rs
- too_long_first_doc_paragraph.rs
- custom_abs.rs
- expm1.rs
- hypot.rs
- lib.rs
- ln1p.rs
- log_base.rs
- log_division.rs
- mod.rs
- mul_add.rs
- powf.rs
- powi.rs
- radians.rs
- duplicate_underscore_argument.rs
- impl_trait_in_params.rs
- misnamed_getters.rs
- mod.rs
- must_use.rs
- not_unsafe_ptr_arg_deref.rs
- ref_option.rs
- renamed_function_params.rs
- result.rs
- too_many_arguments.rs
- too_many_lines.rs
- branches_sharing_code.rs
- if_same_then_else.rs
- ifs_same_cond.rs
- mod.rs
- same_functions_in_if_cond.rs
- char_indices_as_byte_indices.rs
- empty_loop.rs
- explicit_counter_loop.rs
- explicit_into_iter_loop.rs
- explicit_iter_loop.rs
- for_kv_map.rs
- for_unbounded_range.rs
- infinite_loop.rs
- iter_next_loop.rs
- manual_find.rs
- manual_flatten.rs
- manual_memcpy.rs
- manual_slice_fill.rs
- manual_while_let_some.rs
- missing_spin_loop.rs
- mod.rs
- mut_range_bound.rs
- needless_range_loop.rs
- never_loop.rs
- same_item_push.rs
- single_element_loop.rs
- unused_enumerate_index.rs
- utils.rs
- while_float.rs
- while_immutable_condition.rs
- while_let_loop.rs
- while_let_on_iterator.rs
- collapsible_match.rs
- infallible_destructuring_match.rs
- manual_filter.rs
- manual_map.rs
- manual_ok_err.rs
- manual_unwrap_or.rs
- manual_utils.rs
- match_as_ref.rs
- match_bool.rs
- match_like_matches.rs
- match_ref_pats.rs
- match_same_arms.rs
- match_single_binding.rs
- match_str_case_mismatch.rs
- match_wild_enum.rs
- match_wild_err_arm.rs
- mod.rs
- needless_match.rs
- overlapping_arms.rs
- redundant_guards.rs
- redundant_pattern_match.rs
- rest_pat_in_fully_bound_struct.rs
- significant_drop_in_scrutinee.rs
- single_match.rs
- try_err.rs
- wild_in_or_pats.rs
- bind_instead_of_map.rs
- by_ref_peekable_peek.rs
- bytecount.rs
- bytes_count_to_len.rs
- bytes_nth.rs
- case_sensitive_file_extension_comparisons.rs
- chars_cmp.rs
- chars_cmp_with_unwrap.rs
- chars_last_cmp.rs
- chars_last_cmp_with_unwrap.rs
- chars_next_cmp.rs
- chars_next_cmp_with_unwrap.rs
- chunks_exact_to_as_chunks.rs
- clear_with_drain.rs
- clone_on_copy.rs
- clone_on_ref_ptr.rs
- cloned_instead_of_copied.rs
- collapsible_str_replace.rs
- double_ended_iterator_last.rs
- drain_collect.rs
- err_expect.rs
- expect_fun_call.rs
- extend_with_drain.rs
- filetype_is_file.rs
- filter_map.rs
- filter_map_bool_then.rs
- filter_map_identity.rs
- filter_map_next.rs
- filter_next.rs
- flat_map_identity.rs
- flat_map_option.rs
- format_collect.rs
- get_first.rs
- get_last_with_len.rs
- get_unwrap.rs
- implicit_clone.rs
- inefficient_to_string.rs
- inspect_for_each.rs
- into_iter_on_ref.rs
- io_other_error.rs
- ip_constant.rs
- is_digit_ascii_radix.rs
- is_empty.rs
- iter_cloned_collect.rs
- iter_count.rs
- iter_filter.rs
- iter_kv_map.rs
- iter_next_slice.rs
- iter_nth.rs
- iter_nth_zero.rs
- iter_on_single_or_empty_collections.rs
- iter_out_of_bounds.rs
- iter_overeager_cloned.rs
- iter_skip_next.rs
- iter_skip_zero.rs
- iter_with_drain.rs
- iterator_step_by_zero.rs
- join_absolute_paths.rs
- lib.rs
- lines_filter_map_ok.rs
- manual_c_str_literals.rs
- manual_clear.rs
- manual_contains.rs
- manual_inspect.rs
- manual_is_variant_and.rs
- manual_next_back.rs
- manual_ok_or.rs
- manual_option_zip.rs
- manual_repeat_n.rs
- manual_saturating_arithmetic.rs
- manual_str_repeat.rs
- manual_try_fold.rs
- map_all_any_identity.rs
- map_clone.rs
- map_collect_result_unit.rs
- map_err_ignore.rs
- map_flatten.rs
- map_identity.rs
- map_or_identity.rs
- map_unwrap_or.rs
- map_unwrap_or_else.rs
- map_with_unused_argument_over_ranges.rs
- mod.rs
- mut_mutex_lock.rs
- needless_as_bytes.rs
- needless_character_iteration.rs
- needless_collect.rs
- needless_option_as_deref.rs
- needless_option_take.rs
- new_ret_no_self.rs
- no_effect_replace.rs
- obfuscated_if_else.rs
- ok_expect.rs
- open_options.rs
- option_as_ref_cloned.rs
- option_as_ref_deref.rs
- option_map_or_none.rs
- option_zip_none.rs
- or_fun_call.rs
- or_then_unwrap.rs
- path_buf_push_overwrite.rs
- path_ends_with_ext.rs
- ptr_offset_by_literal.rs
- ptr_offset_with_cast.rs
- range_zip_with_len.rs
- read_line_without_trim.rs
- readonly_write_lock.rs
- redundant_as_str.rs
- repeat_once.rs
- result_map_or_else_none.rs
- return_and_then.rs
- search_is_some.rs
- seek_from_current.rs
- seek_to_start_instead_of_rewind.rs
- should_implement_trait.rs
- single_char_add_str.rs
- skip_while_next.rs
- sliced_string_as_bytes.rs
- some_filter.rs
- stable_sort_primitive.rs
- str_split.rs
- str_splitn.rs
- string_extend_chars.rs
- string_lit_chars_any.rs
- suspicious_command_arg_space.rs
- suspicious_map.rs
- suspicious_splitn.rs
- suspicious_to_owned.rs
- swap_with_temporary.rs
- type_id_on_box.rs
- unbuffered_bytes.rs
- uninit_assumed_init.rs
- unit_hash.rs
- unnecessary_fallible_conversions.rs
- unnecessary_filter_map.rs
- unnecessary_first_then_check.rs
- unnecessary_fold.rs
- unnecessary_get_then_check.rs
- unnecessary_iter_cloned.rs
- unnecessary_join.rs
- unnecessary_lazy_eval.rs
- unnecessary_literal_unwrap.rs
- unnecessary_map_or.rs
- unnecessary_map_or_else.rs
- unnecessary_min_or_max.rs
- unnecessary_sort_by.rs
- unnecessary_to_owned.rs
- unnecessary_unwrap_unchecked.rs
- unwrap_expect_used.rs
- useless_asref.rs
- useless_nonzero_new_unchecked.rs
- utils.rs
- vec_resize_to_zero.rs
- verbose_file_reads.rs
- waker_clone_wake.rs
- wrong_self_convention.rs
- zst_offset.rs
- builtin_type_shadow.rs
- literal_suffix.rs
- mixed_case_hex_literals.rs
- mod.rs
- redundant_at_rest_pattern.rs
- redundant_pattern.rs
- unneeded_field_pattern.rs
- unneeded_wildcard_pattern.rs
- zero_prefixed_literal.rs
- absurd_extreme_comparisons.rs
- arithmetic_side_effects.rs
- assign_op_pattern.rs
- bit_mask.rs
- cmp_owned.rs
- const_comparisons.rs
- decimal_bitwise_operands.rs
- double_comparison.rs
- duration_subsec.rs
- eq_op.rs
- erasing_op.rs
- float_cmp.rs
- float_equality_without_abs.rs
- identity_op.rs
- integer_division.rs
- integer_division_remainder_used.rs
- invalid_upcast_comparisons.rs
- manual_div_ceil.rs
- manual_is_multiple_of.rs
- manual_isolate_lowest_one.rs
- manual_midpoint.rs
- misrefactored_assign_op.rs
- mod.rs
- modulo_arithmetic.rs
- modulo_one.rs
- needless_bitwise_bool.rs
- numeric_arithmetic.rs
- op_ref.rs
- self_assignment.rs
- verbose_bit_mask.rs
- cmp_null.rs
- mod.rs
- mut_from_ref.rs
- ptr_arg.rs
- ptr_eq.rs
- let_and_return.rs
- mod.rs
- needless_return.rs
- needless_return_with_question_mark.rs
- crosspointer_transmute.rs
- eager_transmute.rs
- missing_transmute_annotations.rs
- mod.rs
- transmute_int_to_bool.rs
- transmute_int_to_non_zero.rs
- transmute_null_to_fn.rs
- transmute_ptr_to_ptr.rs
- transmute_ptr_to_ref.rs
- transmute_ref_to_ref.rs
- transmute_undefined_repr.rs
- transmutes_expressible_as_ptr_casts.rs
- transmuting_null.rs
- unsound_collection_transmute.rs
- useless_transmute.rs
- utils.rs
- wrong_transmute.rs
- borrowed_box.rs
- box_collection.rs
- linked_list.rs
- mod.rs
- option_option.rs
- owned_cow.rs
- rc_buffer.rs
- rc_mutex.rs
- redundant_allocation.rs
- type_complexity.rs
- utils.rs
- vec_box.rs
- let_unit_value.rs
- mod.rs
- unit_arg.rs
- unit_cmp.rs
- utils.rs
- attr_collector.rs
- author.rs
- dump_hir.rs
- format_args_collector.rs
- mod.rs
- empty_string.rs
- literal.rs
- mod.rs
- use_debug.rs
- with_newline.rs
- absolute_paths.rs
- almost_complete_range.rs
- approx_const.rs
- arbitrary_source_item_ordering.rs
- arc_with_non_send_sync.rs
- as_conversions.rs
- asm_syntax.rs
- assert_is_empty.rs
- assertions_on_constants.rs
- assertions_on_result_states.rs
- assigning_clones.rs
- async_yields_async.rs
- await_holding_invalid.rs
- bit_width.rs
- block_scrutinee.rs
- blocks_in_conditions.rs
- bool_assert_comparison.rs
- bool_comparison.rs
- bool_to_int_with_if.rs
- booleans.rs
- borrow_deref_ref.rs
- box_default.rs
- byte_char_slices.rs
- cfg_not_test.rs
- checked_conversions.rs
- cloned_ref_to_slice_refs.rs
- coerce_container_to_any.rs
- cognitive_complexity.rs
- collapsible_if.rs
- collection_is_never_read.rs
- combined_early_pass.rs
- combined_late_pass.rs
- comparison_chain.rs
- copy_iterator.rs
- crate_in_macro_def.rs
- create_dir.rs
- dbg_macro.rs
- declared_lints.rs
- default.rs
- default_constructed_unit_structs.rs
- default_instead_of_iter_empty.rs
- default_numeric_fallback.rs
- default_union_representation.rs
- definition_in_module_root.rs
- deprecated_lints.rs
- dereference.rs
- derivable_impls.rs
- disallowed_fields.rs
- disallowed_macros.rs
- disallowed_methods.rs
- disallowed_names.rs
- disallowed_script_idents.rs
- disallowed_types.rs
- double_parens.rs
- drop_forget_ref.rs
- duplicate_mod.rs
- duration_suboptimal_units.rs
- else_if_without_else.rs
- empty_drop.rs
- empty_enums.rs
- empty_line_after.rs
- empty_with_brackets.rs
- endian_bytes.rs
- entry.rs
- enum_clike.rs
- equatable_if_let.rs
- error_impl_error.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
- fallible_impl_from.rs
- field_scoped_visibility_modifiers.rs
- float_literal.rs
- format.rs
- format_args.rs
- format_impl.rs
- format_push_string.rs
- formatting.rs
- four_forward_slashes.rs
- from_over_into.rs
- from_raw_with_void_ptr.rs
- from_str_radix_10.rs
- future_not_send.rs
- if_let_mutex.rs
- if_not_else.rs
- if_then_some_else_none.rs
- ignored_unit_patterns.rs
- impl_hash_with_borrow_str_and_bytes.rs
- implicit_hasher.rs
- implicit_return.rs
- implicit_saturating_add.rs
- implicit_saturating_sub.rs
- implied_bounds_in_impls.rs
- incompatible_msrv.rs
- inconsistent_struct_constructor.rs
- index_refutable_slice.rs
- indexing_slicing.rs
- ineffective_open_options.rs
- infallible_try_from.rs
- infinite_iter.rs
- inherent_impl.rs
- inherent_to_string.rs
- init_numbered_fields.rs
- inline_fn_without_body.rs
- inline_trait_bounds.rs
- int_plus_one.rs
- item_name_repetitions.rs
- items_after_statements.rs
- items_after_test_module.rs
- iter_not_returning_iterator.rs
- iter_over_hash_type.rs
- iter_without_into_iter.rs
- large_const_arrays.rs
- large_enum_variant.rs
- large_futures.rs
- large_include_file.rs
- large_stack_arrays.rs
- large_stack_frames.rs
- legacy_numeric_constants.rs
- len_without_is_empty.rs
- len_zero.rs
- let_if_seq.rs
- let_underscore.rs
- let_with_type_underscore.rs
- lib.rs
- lifetimes.rs
- literal_representation.rs
- literal_string_with_formatting_args.rs
- macro_metavars_in_unsafe.rs
- macro_use.rs
- main_recursion.rs
- manual_abs_diff.rs
- manual_assert.rs
- manual_assert_eq.rs
- manual_async_fn.rs
- manual_bits.rs
- manual_checked_ops.rs
- manual_clamp.rs
- manual_float_methods.rs
- manual_hash_one.rs
- manual_ignore_case_cmp.rs
- manual_ilog2.rs
- manual_is_ascii_check.rs
- manual_is_power_of_two.rs
- manual_let_else.rs
- manual_main_separator_str.rs
- manual_non_exhaustive.rs
- manual_noop_waker.rs
- manual_option_as_slice.rs
- manual_pop_if.rs
- manual_range_patterns.rs
- manual_rem_euclid.rs
- manual_retain.rs
- manual_rotate.rs
- manual_slice_size_calculation.rs
- manual_string_new.rs
- manual_strip.rs
- manual_take.rs
- map_unit_fn.rs
- match_result_ok.rs
- mem_replace.rs
- min_ident_chars.rs
- minmax.rs
- misc.rs
- mismatching_type_param_order.rs
- missing_assert_message.rs
- missing_asserts_for_indexing.rs
- missing_const_for_fn.rs
- missing_const_for_thread_local.rs
- missing_doc.rs
- missing_enforced_import_rename.rs
- missing_fields_in_debug.rs
- missing_inline.rs
- missing_trait_methods.rs
- mixed_read_write_in_expression.rs
- module_style.rs
- multi_assignments.rs
- multiple_bound_locations.rs
- multiple_unsafe_ops_per_block.rs
- mut_key.rs
- mut_mut.rs
- mutable_debug_assertion.rs
- mutex_atomic.rs
- needless_arbitrary_self_type.rs
- needless_bool.rs
- needless_borrowed_ref.rs
- needless_borrows_for_generic_args.rs
- needless_continue.rs
- needless_else.rs
- needless_for_each.rs
- needless_ifs.rs
- needless_late_init.rs
- needless_maybe_sized.rs
- needless_nonzero_get.rs
- needless_parens_on_range_literals.rs
- needless_pass_by_ref_mut.rs
- needless_pass_by_value.rs
- 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_canonical_impls.rs
- non_copy_const.rs
- non_expressive_names.rs
- non_octal_unix_permissions.rs
- non_send_fields_in_send_ty.rs
- non_std_lazy_statics.rs
- non_zero_suggestions.rs
- nonnull_unchecked_on_box_ptr.rs
- nonstandard_macro_braces.rs
- octal_escapes.rs
- only_used_in_recursion.rs
- option_env_unwrap.rs
- option_if_let_else.rs
- panic_in_result_fn.rs
- panic_unimplemented.rs
- panicking_overflow_checks.rs
- partial_pub_fields.rs
- partialeq_ne_impl.rs
- partialeq_to_none.rs
- pass_by_ref_or_value.rs
- pathbuf_init_then_push.rs
- pattern_type_mismatch.rs
- permissions_set_readonly_false.rs
- pointers_in_nomem_asm_block.rs
- precedence.rs
- pub_underscore_fields.rs
- pub_use.rs
- question_mark.rs
- question_mark_used.rs
- ranges.rs
- raw_strings.rs
- rc_clone_in_vec_init.rs
- read_zero_byte_vec.rs
- redundant_async_block.rs
- redundant_clone.rs
- redundant_closure_call.rs
- redundant_else.rs
- redundant_field_names.rs
- redundant_locals.rs
- redundant_pub_crate.rs
- redundant_slicing.rs
- redundant_static_lifetimes.rs
- redundant_test_prefix.rs
- redundant_type_annotations.rs
- ref_option_ref.rs
- ref_patterns.rs
- reference.rs
- regex.rs
- repeat_vec_with_capacity.rs
- replace_box.rs
- reserve_after_initialization.rs
- rest_when_destructuring_struct.rs
- return_self_not_must_use.rs
- same_length_and_capacity.rs
- same_name_method.rs
- self_named_constructors.rs
- semicolon_block.rs
- semicolon_if_nothing_returned.rs
- serde_api.rs
- set_contains_or_insert.rs
- shadow.rs
- significant_drop_tightening.rs
- single_call_fn.rs
- single_char_lifetime_names.rs
- single_component_path_imports.rs
- single_option_map.rs
- single_range_in_vec_init.rs
- size_of_in_element_count.rs
- size_of_ref.rs
- slow_vector_initialization.rs
- std_instead_of_core.rs
- string_patterns.rs
- strings.rs
- strlen_on_c_strings.rs
- suspicious_operation_groupings.rs
- suspicious_trait_impl.rs
- suspicious_xor_used_as_pow.rs
- swap.rs
- swap_ptr_to_ref.rs
- tabs_in_doc_comments.rs
- temporary_assignment.rs
- tests_outside_test_module.rs
- time_subtraction.rs
- to_digit_is_some.rs
- to_string_trait_impl.rs
- toplevel_ref_arg.rs
- trailing_empty_array.rs
- trait_bounds.rs
- tuple_array_conversions.rs
- unconditional_recursion.rs
- undocumented_unsafe_blocks.rs
- unicode.rs
- uninhabited_references.rs
- uninit_vec.rs
- unit_return_expecting_ord.rs
- unnecessary_box_returns.rs
- unnecessary_literal_bound.rs
- unnecessary_map_on_constructor.rs
- unnecessary_mut_passed.rs
- unnecessary_owned_empty_strings.rs
- unnecessary_self_imports.rs
- unnecessary_semicolon.rs
- unnecessary_struct_initialization.rs
- unnecessary_wraps.rs
- unneeded_struct_pattern.rs
- unnested_or_patterns.rs
- unsafe_removed_from_name.rs
- unused_async.rs
- unused_io_amount.rs
- unused_peekable.rs
- unused_result_ok.rs
- unused_rounding.rs
- unused_self.rs
- unused_trait_names.rs
- unused_unit.rs
- unwrap.rs
- unwrap_in_result.rs
- upper_case_acronyms.rs
- use_self.rs
- useless_concat.rs
- useless_conversion.rs
- useless_vec.rs
- vec_init_then_push.rs
- visibility.rs
- volatile_composites.rs
- wildcard_imports.rs
- with_capacity_zero.rs
- zero_div_zero.rs
- zero_repeat_side_effects.rs
- zero_sized_map_values.rs
- zombie_processes.rs
- Cargo.toml
- README.md
- almost_standard_lint_formulation.rs
- collapsible_span_lint_calls.rs
- internal_paths.rs
- lib.rs
- lint_without_lint_pass.rs
- msrv_attr_impl.rs
- outer_expn_data_pass.rs
- produce_ice.rs
- repeated_is_diagnostic_item.rs
- symbols.rs
- unnecessary_def_path.rs
- unsorted_clippy_utils_paths.rs
- unusual_names.rs
- Cargo.toml
- main.rs
- Cargo.lock
- Cargo.toml
- ident_iter.rs
- mod.rs
- mod.rs
- possible_borrower.rs
- possible_origin.rs
- transitive_relation.rs
- certainty.rs
- mod.rs
- mod.rs
- attrs.rs
- check_proc_macro.rs
- comparisons.rs
- consts.rs
- diagnostics.rs
- eager_or_lazy.rs
- higher.rs
- hir_utils.rs
- lib.rs
- macros.rs
- msrvs.rs
- numeric_literal.rs
- paths.rs
- qualify_min_const_fn.rs
- res.rs
- source.rs
- str_utils.rs
- sugg.rs
- sym.rs
- usage.rs
- visitors.rs
- Cargo.toml
- README.md
- lib.rs
- Cargo.toml
- contributors.txt
- relicense_comments.txt
- RELICENSE_DOCUMENTATION.md
- clippy.toml
- config.rs
- driver.rs
- input.rs
- json.rs
- main.rs
- output.rs
- popular_crates.rs
- recursive.rs
- Cargo.toml
- ci_crates.toml
- lintcheck_crates.toml
- README.md
- test_sources.toml
- lib.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- driver.rs
- main.rs
- mod.rs
- blocks.rs
- blocks.stdout
- call.rs
- call.stdout
- if.rs
- if.stdout
- issue_17240.rs
- issue_17240.stdout
- issue_3849.rs
- issue_3849.stdout
- loop.rs
- loop.stdout
- macro_in_closure.rs
- macro_in_closure.stdout
- macro_in_loop.rs
- macro_in_loop.stdout
- matches.rs
- matches.stdout
- repeat.rs
- repeat.stdout
- struct.rs
- struct.stdout
- extern_fake_libc.rs
- external_consts.rs
- external_item.rs
- interior_mutable_const.rs
- macro_rules.rs
- macro_use_helper.rs
- non-exhaustive-enum.rs
- non-exhaustive-struct.rs
- option_helpers.rs
- proc_macro_attr.rs
- proc_macro_derive.rs
- proc_macro_suspicious_else_formatting.rs
- proc_macro_unsafe.rs
- proc_macros.rs
- test_macro.rs
- unnecessary_unwrap_unchecked_helper.rs
- use_self_macro.rs
- wildcard_imports_helper.rs
- false_positives.rs
- shared_at_bottom.rs
- shared_at_bottom.stderr
- shared_at_top.rs
- shared_at_top.stderr
- shared_at_top_and_bottom.rs
- shared_at_top_and_bottom.stderr
- shared_match_tail.fixed
- shared_match_tail.rs
- shared_match_tail.stderr
- valid_if_blocks.rs
- valid_if_blocks.stderr
- complex_conditionals.rs
- complex_conditionals.stderr
- complex_conditionals_nested.rs
- complex_conditionals_nested.stderr
- if_let_chains.rs
- if_let_chains.stderr
- simple_conditionals.rs
- simple_conditionals.stderr
- asymmetric_partial_eq.fixed
- asymmetric_partial_eq.rs
- asymmetric_partial_eq.stderr
- comparison_flip.fixed
- comparison_flip.rs
- comparison_flip.stderr
- with_suggestion.fixed
- with_suggestion.rs
- with_suggestion.stderr
- without_suggestion.rs
- without_suggestion.stderr
- ice-4727-aux.rs
- ice-7272-aux.rs
- ice-7868-aux.rs
- ice-7934-aux.rs
- ice-8681-aux.rs
- proc_macro_crash.rs
- use_self_macro.rs
- clippy.toml
- conf_allowlisted.rs
- associated-constant-ice.rs
- cc_seme.rs
- elidable_lifetime_names_impl_trait.fixed
- elidable_lifetime_names_impl_trait.rs
- elidable_lifetime_names_impl_trait.stderr
- enum-glob-import-crate.rs
- ice-10148.rs
- ice-10148.stderr
- ice-10508a.rs
- ice-10508b.rs
- ice-10508c.rs
- ice-10912.rs
- ice-10912.stderr
- ice-11065.rs
- ice-11230.fixed
- ice-11230.rs
- ice-11230.stderr
- ice-11337.rs
- ice-11422.fixed
- ice-11422.rs
- ice-11422.stderr
- ice-11755.rs
- ice-11803.rs
- ice-11803.stderr
- ice-11939.rs
- ice-12253.rs
- ice-12491.fixed
- ice-12491.rs
- ice-12491.stderr
- ice-12585.rs
- ice-12616.fixed
- ice-12616.rs
- ice-12616.stderr
- ice-12979.1.fixed
- ice-12979.2.fixed
- ice-12979.rs
- ice-12979.stderr
- ice-13544-original.rs
- ice-13544-reduced.rs
- ice-13862.rs
- ice-14303.rs
- ice-14325.rs
- ice-14935.rs
- ice-15657.rs
- ice-15666.fixed
- ice-15666.rs
- ice-15666.stderr
- ice-15684.rs
- ice-15684.stderr
- ice-1588.rs
- ice-16950.rs
- ice-17352.rs
- ice-1782.rs
- ice-1969.rs
- ice-2499.rs
- ice-2594.rs
- ice-2727.rs
- ice-2760.rs
- ice-2774.fixed
- ice-2774.rs
- ice-2774.stderr
- ice-2862.rs
- ice-2865.rs
- ice-3151.rs
- ice-3462.rs
- ice-360.rs
- ice-360.stderr
- ice-3717.fixed
- ice-3717.rs
- ice-3717.stderr
- ice-3741.rs
- ice-3747.rs
- ice-3891.rs
- ice-3891.stderr
- ice-3969.rs
- ice-3969.stderr
- ice-4121.rs
- ice-4545.rs
- ice-4579.rs
- ice-4671.rs
- ice-4727.rs
- ice-4760.rs
- ice-4775.rs
- ice-4968.rs
- ice-5207.rs
- ice-5223.rs
- ice-5238.rs
- ice-5389.rs
- ice-5497.rs
- ice-5497.stderr
- ice-5579.rs
- ice-5835.1.fixed
- ice-5835.2.fixed
- ice-5835.fixed
- ice-5835.rs
- ice-5835.stderr
- ice-5872.fixed
- ice-5872.rs
- ice-5872.stderr
- ice-5944.rs
- ice-6139.rs
- ice-6153.rs
- ice-6179.rs
- ice-6250.fixed
- ice-6250.rs
- ice-6250.stderr
- ice-6251.rs
- ice-6251.stderr
- ice-6252.rs
- ice-6252.stderr
- ice-6254.rs
- ice-6255.rs
- ice-6255.stderr
- ice-6256.rs
- ice-6256.stderr
- ice-6332.rs
- ice-6539.rs
- ice-6792.rs
- ice-6793.rs
- ice-6840.rs
- ice-700.rs
- ice-7012.rs
- ice-7126.rs
- ice-7169.fixed
- ice-7169.rs
- ice-7169.stderr
- ice-7231.rs
- ice-7272.rs
- ice-7340.rs
- ice-7410.rs
- ice-7423.rs
- ice-7868.rs
- ice-7868.stderr
- ice-7869.rs
- ice-7869.stderr
- ice-7934.rs
- ice-8250.fixed
- ice-8250.rs
- ice-8250.stderr
- ice-8386.rs
- ice-8681.rs
- ice-8821.rs
- ice-8850.fixed
- ice-8850.rs
- ice-8850.stderr
- ice-9041.fixed
- ice-9041.rs
- ice-9041.stderr
- ice-9238.rs
- ice-9242.rs
- ice-9405.rs
- ice-9405.stderr
- ice-9414.rs
- ice-9459.rs
- ice-9463.rs
- ice-9625.rs
- ice-96721.fixed
- ice-96721.rs
- ice-96721.stderr
- ice-9746.rs
- ice-rust-107877.rs
- ice_exact_size.rs
- if_same_then_else.rs
- implements-trait.rs
- inherent_impl.rs
- issue-825.rs
- issues_loop_mut_cond.rs
- match_same_arms_const.rs
- mgca-16691.rs
- missing_const_for_fn_14774.fixed
- missing_const_for_fn_14774.rs
- missing_const_for_fn_14774.stderr
- needless_borrow_fp.rs
- needless_pass_by_value-w-late-bound.fixed
- needless_pass_by_value-w-late-bound.rs
- needless_pass_by_value-w-late-bound.stderr
- regressions.rs
- returns.rs
- shadow.rs
- single-match-else.rs
- trivial_bounds.rs
- unreachable-array-or-slice.rs
- unreachable-array-or-slice.stderr
- used_underscore_binding_macro.rs
- entrypoint_recursion.rs
- entrypoint_recursion.stderr
- no_std_main_recursion.rs
- no_std_swap.fixed
- no_std_swap.rs
- no_std_swap.stderr
- std_main_recursion.rs
- std_main_recursion.stderr
- submodule.rs
- dbg_macro.fixed
- dbg_macro.rs
- dbg_macro.stderr
- dbg_macro_unfixable.rs
- dbg_macro_unfixable.stderr
- doc-fixable.fixed
- doc-fixable.rs
- doc-fixable.stderr
- doc_comment_double_space_linebreaks.fixed
- doc_comment_double_space_linebreaks.rs
- doc_comment_double_space_linebreaks.stderr
- doc_include_without_cfg.fixed
- doc_include_without_cfg.rs
- doc_include_without_cfg.stderr
- doc_lazy_blockquote.fixed
- doc_lazy_blockquote.rs
- doc_lazy_blockquote.stderr
- doc_lazy_list.fixed
- doc_lazy_list.rs
- doc_lazy_list.stderr
- doc_markdown-issue_13097.fixed
- doc_markdown-issue_13097.rs
- doc_markdown-issue_13097.stderr
- doc_nested_refdef_blockquote.fixed
- doc_nested_refdef_blockquote.rs
- doc_nested_refdef_blockquote.stderr
- doc_nested_refdef_list_item.fixed
- doc_nested_refdef_list_item.rs
- doc_nested_refdef_list_item.stderr
- doc_overindented_list_items.fixed
- doc_overindented_list_items.rs
- doc_overindented_list_items.stderr
- doc_paragraph_missing_punctuation_split_16169.rs
- doc_paragraphs_missing_punctuation.fixed
- doc_paragraphs_missing_punctuation.rs
- doc_paragraphs_missing_punctuation.stderr
- doc_paragraphs_missing_punctuation_emoji.rs
- doc_paragraphs_missing_punctuation_emoji.stderr
- doc_paragraphs_missing_punctuation_unfixable.rs
- doc_paragraphs_missing_punctuation_unfixable.stderr
- footnote_issue_13183.rs
- issue_10262.fixed
- issue_10262.rs
- issue_10262.stderr
- issue_12795.fixed
- issue_12795.rs
- issue_12795.stderr
- issue_1832.rs
- issue_902.rs
- issue_9473.fixed
- issue_9473.rs
- issue_9473.stderr
- link_adjacent.fixed
- link_adjacent.rs
- link_adjacent.stderr
- needless_doctest_main.rs
- needless_doctest_main.stderr
- unbalanced_ticks.rs
- unbalanced_ticks.stderr
- doc_comments.1.fixed
- doc_comments.2.fixed
- doc_comments.rs
- doc_comments.stderr
- outer_attribute.1.fixed
- outer_attribute.2.fixed
- outer_attribute.rs
- outer_attribute.stderr
- absurd-extreme-comparisons.rs
- absurd-extreme-comparisons.stderr
- allow_attributes.fixed
- allow_attributes.rs
- allow_attributes.stderr
- allow_attributes_without_reason.rs
- allow_attributes_without_reason.stderr
- almost_complete_range.fixed
- almost_complete_range.rs
- almost_complete_range.stderr
- approx_const.rs
- approx_const.stderr
- arc_with_non_send_sync.rs
- arc_with_non_send_sync.stderr
- arithmetic_side_effects.rs
- arithmetic_side_effects.stderr
- as_conversions.rs
- as_conversions.stderr
- as_pointer_underscore.fixed
- as_pointer_underscore.rs
- as_pointer_underscore.stderr
- as_ptr_cast_mut.fixed
- as_ptr_cast_mut.rs
- as_ptr_cast_mut.stderr
- as_ptr_cast_mut_unfixable.rs
- as_ptr_cast_mut_unfixable.stderr
- as_underscore.fixed
- as_underscore.rs
- as_underscore.stderr
- as_underscore_unfixable.rs
- as_underscore_unfixable.stderr
- asm_syntax_not_x86.rs
- asm_syntax_x86.i686.stderr
- asm_syntax_x86.rs
- asm_syntax_x86.stderr
- asm_syntax_x86.x86_64.stderr
- assert_is_empty.fixed
- assert_is_empty.rs
- assert_is_empty.stderr
- assertions_on_constants.rs
- assertions_on_constants.stderr
- assertions_on_result_states.fixed
- assertions_on_result_states.rs
- assertions_on_result_states.stderr
- assign_ops.fixed
- assign_ops.rs
- assign_ops.stderr
- assigning_clones.fixed
- assigning_clones.rs
- assigning_clones.stderr
- async_yields_async.fixed
- async_yields_async.rs
- async_yields_async.stderr
- attrs.rs
- attrs.stderr
- author.rs
- author.stdout
- await_holding_lock.rs
- await_holding_lock.stderr
- await_holding_refcell_ref.rs
- await_holding_refcell_ref.stderr
- bad_bit_masks.rs
- bad_bit_masks.stderr
- big_endian_bytes.1.fixed
- big_endian_bytes.2.fixed
- big_endian_bytes.rs
- big_endian_bytes.stderr
- bind_instead_of_map.fixed
- bind_instead_of_map.rs
- bind_instead_of_map.stderr
- bind_instead_of_map_multipart.fixed
- bind_instead_of_map_multipart.rs
- bind_instead_of_map_multipart.stderr
- blanket_clippy_restriction_lints.rs
- blanket_clippy_restriction_lints.stderr
- block_scrutinee.1.fixed
- block_scrutinee.2.fixed
- block_scrutinee.rs
- block_scrutinee.stderr
- block_scrutinee_2024.rs
- blocks_in_conditions.fixed
- blocks_in_conditions.rs
- blocks_in_conditions.stderr
- blocks_in_conditions_2021.fixed
- blocks_in_conditions_2021.rs
- blocks_in_conditions_2021.stderr
- blocks_in_conditions_unfixable.rs
- blocks_in_conditions_unfixable.stderr
- bool_assert_comparison.fixed
- bool_assert_comparison.rs
- bool_assert_comparison.stderr
- bool_comparison.fixed
- bool_comparison.rs
- bool_comparison.stderr
- bool_to_int_with_if.fixed
- bool_to_int_with_if.rs
- bool_to_int_with_if.stderr
- borrow_and_ref_as_ptr.fixed
- borrow_and_ref_as_ptr.rs
- borrow_and_ref_as_ptr.stderr
- borrow_as_ptr.fixed
- borrow_as_ptr.rs
- borrow_as_ptr.stderr
- borrow_as_ptr_no_std.fixed
- borrow_as_ptr_no_std.rs
- borrow_as_ptr_no_std.stderr
- borrow_as_ptr_raw_ref.fixed
- borrow_as_ptr_raw_ref.rs
- borrow_as_ptr_raw_ref.stderr
- borrow_deref_ref.fixed
- borrow_deref_ref.rs
- borrow_deref_ref.stderr
- borrow_deref_ref_unfixable.rs
- borrow_deref_ref_unfixable.stderr
- borrow_interior_mutable_const.rs
- borrow_interior_mutable_const.stderr
- borrowed_box.fixed
- borrowed_box.rs
- borrowed_box.stderr
- box_collection.rs
- box_collection.stderr
- box_default.fixed
- box_default.rs
- box_default.stderr
- box_default_no_std.rs
- boxed_local.rs
- boxed_local.stderr
- builtin_type_shadow.rs
- builtin_type_shadow.stderr
- by_ref_peekable_peek.1.fixed
- by_ref_peekable_peek.2.fixed
- by_ref_peekable_peek.3.fixed
- by_ref_peekable_peek.rs
- by_ref_peekable_peek.stderr
- byte_char_slices.fixed
- byte_char_slices.rs
- byte_char_slices.stderr
- bytecount.rs
- bytecount.stderr
- bytes_count_to_len.fixed
- bytes_count_to_len.rs
- bytes_count_to_len.stderr
- bytes_nth.fixed
- bytes_nth.rs
- bytes_nth.stderr
- case_sensitive_file_extension_comparisons.fixed
- case_sensitive_file_extension_comparisons.rs
- case_sensitive_file_extension_comparisons.stderr
- cast.rs
- cast.stderr
- cast_abs_to_unsigned.fixed
- cast_abs_to_unsigned.rs
- cast_abs_to_unsigned.stderr
- cast_alignment.rs
- cast_alignment.stderr
- cast_enum_constructor.rs
- cast_enum_constructor.stderr
- cast_lossless_bool.fixed
- cast_lossless_bool.rs
- cast_lossless_bool.stderr
- cast_lossless_float.fixed
- cast_lossless_float.rs
- cast_lossless_float.stderr
- cast_lossless_integer.fixed
- cast_lossless_integer.rs
- cast_lossless_integer.stderr
- cast_lossless_integer_unfixable.rs
- cast_nan_to_int.rs
- cast_nan_to_int.stderr
- cast_raw_slice_pointer_cast.fixed
- cast_raw_slice_pointer_cast.rs
- cast_raw_slice_pointer_cast.stderr
- cast_raw_slice_pointer_cast_no_std.fixed
- cast_raw_slice_pointer_cast_no_std.rs
- cast_raw_slice_pointer_cast_no_std.stderr
- cast_size.r32bit.stderr
- cast_size.r64bit.stderr
- cast_size.rs
- cast_slice_different_sizes.rs
- cast_slice_different_sizes.stderr
- cfg_attr_cargo_clippy.fixed
- cfg_attr_cargo_clippy.rs
- cfg_attr_cargo_clippy.stderr
- cfg_attr_rustfmt.fixed
- cfg_attr_rustfmt.rs
- cfg_attr_rustfmt.stderr
- cfg_not_test.rs
- cfg_not_test.stderr
- char_indices_as_byte_indices.fixed
- char_indices_as_byte_indices.rs
- char_indices_as_byte_indices.stderr
- char_lit_as_u8.fixed
- char_lit_as_u8.rs
- char_lit_as_u8.stderr
- char_lit_as_u8_unfixable.rs
- char_lit_as_u8_unfixable.stderr
- checked_conversions.fixed
- checked_conversions.rs
- checked_conversions.stderr
- chunks_exact_to_as_chunks.rs
- chunks_exact_to_as_chunks.stderr
- chunks_exact_to_as_chunks_fixable.fixed
- chunks_exact_to_as_chunks_fixable.rs
- chunks_exact_to_as_chunks_fixable.stderr
- clear_with_drain.fixed
- clear_with_drain.rs
- clear_with_drain.stderr
- clone_on_copy.fixed
- clone_on_copy.rs
- clone_on_copy.stderr
- clone_on_copy_impl.rs
- clone_on_ref_ptr.fixed
- clone_on_ref_ptr.rs
- clone_on_ref_ptr.stderr
- cloned_instead_of_copied.fixed
- cloned_instead_of_copied.rs
- cloned_instead_of_copied.stderr
- cloned_ref_to_slice_refs.fixed
- cloned_ref_to_slice_refs.rs
- cloned_ref_to_slice_refs.stderr
- cmp_null.fixed
- cmp_null.rs
- cmp_null.stderr
- coerce_container_to_any.fixed
- coerce_container_to_any.rs
- coerce_container_to_any.stderr
- cognitive_complexity.rs
- cognitive_complexity.stderr
- cognitive_complexity_attr_used.rs
- cognitive_complexity_attr_used.stderr
- collapsible_else_if.fixed
- collapsible_else_if.rs
- collapsible_else_if.stderr
- collapsible_else_if_unfixable.rs
- collapsible_else_if_unfixable.stderr
- collapsible_if.fixed
- collapsible_if.rs
- collapsible_if.stderr
- collapsible_if_let_chains.edition2024.fixed
- collapsible_if_let_chains.edition2024.stderr
- collapsible_if_let_chains.rs
- collapsible_if_unfixable.rs
- collapsible_if_unfixable.stderr
- collapsible_match.rs
- collapsible_match.stderr
- collapsible_match2.rs
- collapsible_match2.stderr
- collapsible_match_fixable.fixed
- collapsible_match_fixable.rs
- collapsible_match_fixable.stderr
- collapsible_str_replace.fixed
- collapsible_str_replace.rs
- collapsible_str_replace.stderr
- collection_is_never_read.rs
- collection_is_never_read.stderr
- comparison_chain.rs
- comparison_chain.stderr
- comparison_to_empty.fixed
- comparison_to_empty.rs
- comparison_to_empty.stderr
- confusing_method_to_numeric_cast.fixed
- confusing_method_to_numeric_cast.rs
- confusing_method_to_numeric_cast.stderr
- const_comparisons.rs
- const_comparisons.stderr
- const_is_empty.rs
- const_is_empty.stderr
- copy_iterator.rs
- copy_iterator.stderr
- crate_in_macro_def.fixed
- crate_in_macro_def.rs
- crate_in_macro_def.stderr
- create_dir.fixed
- create_dir.rs
- create_dir.stderr
- debug_assert_with_mut_call.rs
- debug_assert_with_mut_call.stderr
- decimal_bitwise_operands.rs
- decimal_bitwise_operands.stderr
- decimal_literal_representation.fixed
- decimal_literal_representation.rs
- decimal_literal_representation.stderr
- declare_interior_mutable_const.rs
- declare_interior_mutable_const.stderr
- def_id_nocore.rs
- def_id_nocore.stderr
- default_constructed_unit_structs.fixed
- default_constructed_unit_structs.rs
- default_constructed_unit_structs.stderr
- default_instead_of_iter_empty.fixed
- default_instead_of_iter_empty.rs
- default_instead_of_iter_empty.stderr
- default_instead_of_iter_empty_no_std.fixed
- default_instead_of_iter_empty_no_std.rs
- default_instead_of_iter_empty_no_std.stderr
- default_numeric_fallback_f64.fixed
- default_numeric_fallback_f64.rs
- default_numeric_fallback_f64.stderr
- default_numeric_fallback_i32.fixed
- default_numeric_fallback_i32.rs
- default_numeric_fallback_i32.stderr
- default_trait_access.fixed
- default_trait_access.rs
- default_trait_access.stderr
- default_union_representation.rs
- default_union_representation.stderr
- deprecated.rs
- deprecated.stderr
- deref_addrof.fixed
- deref_addrof.rs
- deref_addrof.stderr
- deref_addrof_double_trigger.rs
- deref_addrof_double_trigger.stderr
- deref_addrof_macro.rs
- deref_by_slicing.fixed
- deref_by_slicing.rs
- deref_by_slicing.stderr
- derivable_impls.fixed
- derivable_impls.rs
- derivable_impls.stderr
- derivable_impls_derive_const.fixed
- derivable_impls_derive_const.rs
- derivable_impls_derive_const.stderr
- derive.rs
- derive.stderr
- derive_ord_xor_partial_ord.rs
- derive_ord_xor_partial_ord.stderr
- derive_partial_eq_without_eq.fixed
- derive_partial_eq_without_eq.rs
- derive_partial_eq_without_eq.stderr
- derived_hash_with_manual_eq.rs
- derived_hash_with_manual_eq.stderr
- disallowed_names.rs
- disallowed_names.stderr
- disallowed_script_idents.rs
- disallowed_script_idents.stderr
- diverging_sub_expression.rs
- diverging_sub_expression.stderr
- doc_broken_link.rs
- doc_broken_link.stderr
- doc_errors.rs
- doc_errors.stderr
- doc_link_with_quotes.rs
- doc_link_with_quotes.stderr
- doc_suspicious_footnotes.fixed
- doc_suspicious_footnotes.rs
- doc_suspicious_footnotes.stderr
- doc_suspicious_footnotes_include.rs
- doc_suspicious_footnotes_include.stderr
- doc_suspicious_footnotes_include.txt
- doc_unsafe.rs
- doc_unsafe.stderr
- double_comparison.fixed
- double_comparison.rs
- double_comparison.stderr
- double_ended_iterator_last.fixed
- double_ended_iterator_last.rs
- double_ended_iterator_last.stderr
- double_must_use.fixed
- double_must_use.rs
- double_must_use.stderr
- double_must_use_proc_macro.rs
- double_must_use_proc_macro.stderr
- double_must_use_unfixable.rs
- double_must_use_unfixable.stderr
- double_parens.fixed
- double_parens.rs
- double_parens.stderr
- drain_collect.fixed
- drain_collect.rs
- drain_collect.stderr
- drain_collect_nostd.fixed
- drain_collect_nostd.rs
- drain_collect_nostd.stderr
- drop_non_drop.rs
- drop_non_drop.stderr
- duplicate_underscore_argument.rs
- duplicate_underscore_argument.stderr
- duplicated_attributes.rs
- duplicated_attributes.stderr
- duration_suboptimal_units.fixed
- duration_suboptimal_units.rs
- duration_suboptimal_units.stderr
- duration_suboptimal_units_days_weeks.fixed
- duration_suboptimal_units_days_weeks.rs
- duration_suboptimal_units_days_weeks.stderr
- duration_subsec.fixed
- duration_subsec.rs
- duration_subsec.stderr
- eager_transmute.fixed
- eager_transmute.rs
- eager_transmute.stderr
- elidable_lifetime_names.fixed
- elidable_lifetime_names.rs
- elidable_lifetime_names.stderr
- else_if_without_else.rs
- else_if_without_else.stderr
- empty_docs.rs
- empty_docs.stderr
- empty_drop.fixed
- empty_drop.rs
- empty_drop.stderr
- empty_enum_variants_with_brackets.fixed
- empty_enum_variants_with_brackets.rs
- empty_enum_variants_with_brackets.stderr
- empty_enums.rs
- empty_enums.stderr
- empty_enums_without_never_type.rs
- empty_loop.rs
- empty_loop.stderr
- empty_loop_intrinsic.rs
- empty_loop_no_std.rs
- empty_loop_no_std.stderr
- empty_structs_with_brackets.fixed
- empty_structs_with_brackets.rs
- empty_structs_with_brackets.stderr
- entry.fixed
- entry.rs
- entry.stderr
- entry_btree.fixed
- entry_btree.rs
- entry_btree.stderr
- entry_unfixable.rs
- entry_unfixable.stderr
- entry_with_else.fixed
- entry_with_else.rs
- entry_with_else.stderr
- enum_clike_unportable_variant.rs
- enum_clike_unportable_variant.stderr
- enum_glob_use.fixed
- enum_glob_use.rs
- enum_glob_use.stderr
- enum_variants.rs
- enum_variants.stderr
- eprint_with_newline.fixed
- eprint_with_newline.rs
- eprint_with_newline.stderr
- eq_op.rs
- eq_op.stderr
- eq_op_macros.rs
- eq_op_macros.stderr
- equatable_if_let.fixed
- equatable_if_let.rs
- equatable_if_let.stderr
- equatable_if_let_const_cmp.fixed
- equatable_if_let_const_cmp.rs
- equatable_if_let_const_cmp.stderr
- erasing_op.rs
- erasing_op.stderr
- err_expect.fixed
- err_expect.rs
- err_expect.stderr
- error_impl_error.rs
- error_impl_error.stderr
- eta.fixed
- eta.rs
- eta.stderr
- eta_nostd.fixed
- eta_nostd.rs
- eta_nostd.stderr
- excessive_precision.fixed
- excessive_precision.rs
- excessive_precision.stderr
- exhaustive_items.fixed
- exhaustive_items.rs
- exhaustive_items.stderr
- exit1.rs
- exit1.stderr
- exit1_compile_flag_test.rs
- exit1_compile_flag_test.stderr
- exit2.rs
- exit2.stderr
- exit2_compile_flag_test.rs
- exit2_compile_flag_test.stderr
- exit3.rs
- exit3_compile_flag_test.rs
- exit4.rs
- expect.rs
- expect.stderr
- expect_fun_call.fixed
- expect_fun_call.rs
- expect_fun_call.stderr
- expect_tool_lint_rfc_2383.rs
- expect_tool_lint_rfc_2383.stderr
- explicit_auto_deref.fixed
- explicit_auto_deref.rs
- explicit_auto_deref.stderr
- explicit_counter_loop.rs
- explicit_counter_loop.stderr
- explicit_deref_methods.fixed
- explicit_deref_methods.rs
- explicit_deref_methods.stderr
- explicit_into_iter_loop.fixed
- explicit_into_iter_loop.rs
- explicit_into_iter_loop.stderr
- explicit_iter_loop.fixed
- explicit_iter_loop.rs
- explicit_iter_loop.stderr
- explicit_write.fixed
- explicit_write.rs
- explicit_write.stderr
- explicit_write_in_test.rs
- extend_with_drain.fixed
- extend_with_drain.rs
- extend_with_drain.stderr
- extra_unused_lifetimes.rs
- extra_unused_lifetimes.stderr
- extra_unused_type_parameters.fixed
- extra_unused_type_parameters.rs
- extra_unused_type_parameters.stderr
- extra_unused_type_parameters_unfixable.rs
- extra_unused_type_parameters_unfixable.stderr
- fallible_impl_from.rs
- fallible_impl_from.stderr
- field_reassign_with_default.rs
- field_reassign_with_default.stderr
- field_scoped_visibility_modifiers.rs
- field_scoped_visibility_modifiers.stderr
- filetype_is_file.rs
- filetype_is_file.stderr
- filter_map_bool_then.fixed
- filter_map_bool_then.rs
- filter_map_bool_then.stderr
- filter_map_bool_then_unfixable.rs
- filter_map_bool_then_unfixable.stderr
- filter_map_identity.fixed
- filter_map_identity.rs
- filter_map_identity.stderr
- filter_map_next.fixed
- filter_map_next.rs
- filter_map_next.stderr
- filter_next.fixed
- filter_next.rs
- filter_next.stderr
- filter_next_unfixable.rs
- filter_next_unfixable.stderr
- flat_map_identity.fixed
- flat_map_identity.rs
- flat_map_identity.stderr
- flat_map_option.fixed
- flat_map_option.rs
- flat_map_option.stderr
- float_arithmetic.rs
- float_arithmetic.stderr
- float_cmp.rs
- float_cmp.stderr
- float_cmp_const.rs
- float_cmp_const.stderr
- float_equality_without_abs.rs
- float_equality_without_abs.stderr
- floating_point_abs.fixed
- floating_point_abs.rs
- floating_point_abs.stderr
- floating_point_arithmetic_nostd.rs
- floating_point_exp.fixed
- floating_point_exp.rs
- floating_point_exp.stderr
- floating_point_hypot.fixed
- floating_point_hypot.rs
- floating_point_hypot.stderr
- floating_point_log.fixed
- floating_point_log.rs
- floating_point_log.stderr
- floating_point_logbase.fixed
- floating_point_logbase.rs
- floating_point_logbase.stderr
- floating_point_mul_add.fixed
- floating_point_mul_add.rs
- floating_point_mul_add.stderr
- floating_point_powf.fixed
- floating_point_powf.rs
- floating_point_powf.stderr
- floating_point_powi.fixed
- floating_point_powi.rs
- floating_point_powi.stderr
- floating_point_rad.fixed
- floating_point_rad.rs
- floating_point_rad.stderr
- fn_params_excessive_bools.rs
- fn_params_excessive_bools.stderr
- fn_to_numeric_cast.r32bit.stderr
- fn_to_numeric_cast.r64bit.stderr
- fn_to_numeric_cast.rs
- fn_to_numeric_cast_any.rs
- fn_to_numeric_cast_any.stderr
- for_kv_map.fixed
- for_kv_map.rs
- for_kv_map.stderr
- for_unbounded_range.fixed
- for_unbounded_range.rs
- for_unbounded_range.stderr
- forget_non_drop.rs
- forget_non_drop.stderr
- format.fixed
- format.rs
- format.stderr
- format_args.fixed
- format_args.rs
- format_args.stderr
- format_collect.rs
- format_collect.stderr
- format_in_format_args_unfixable.rs
- format_in_format_args_unfixable.stderr
- format_push_string.fixed
- format_push_string.rs
- format_push_string.stderr
- format_push_string_no_core.rs
- format_push_string_no_std.fixed
- format_push_string_no_std.rs
- format_push_string_no_std.stderr
- format_push_string_no_std_unfixable.rs
- format_push_string_no_std_unfixable.stderr
- format_push_string_unfixable.rs
- format_push_string_unfixable.stderr
- formatting.rs
- formatting.stderr
- four_forward_slashes.fixed
- four_forward_slashes.rs
- four_forward_slashes.stderr
- four_forward_slashes_bare_cr.rs
- four_forward_slashes_bare_cr.stderr
- four_forward_slashes_first_line.fixed
- four_forward_slashes_first_line.rs
- four_forward_slashes_first_line.stderr
- from_over_into.fixed
- from_over_into.rs
- from_over_into.stderr
- from_over_into_unfixable.rs
- from_over_into_unfixable.stderr
- from_raw_with_void_ptr.rs
- from_raw_with_void_ptr.stderr
- from_str_radix_10.fixed
- from_str_radix_10.rs
- from_str_radix_10.stderr
- functions.rs
- functions.stderr
- functions_maxlines.rs
- functions_maxlines.stderr
- future_not_send.current.stderr
- future_not_send.next.stderr
- future_not_send.rs
- get_first.fixed
- get_first.rs
- get_first.stderr
- get_last_with_len.fixed
- get_last_with_len.rs
- get_last_with_len.stderr
- get_unwrap.fixed
- get_unwrap.rs
- get_unwrap.stderr
- host_endian_bytes.1.fixed
- host_endian_bytes.2.fixed
- host_endian_bytes.rs
- host_endian_bytes.stderr
- identity_op.fixed
- identity_op.rs
- identity_op.stderr
- if_let_mutex.edition2021.stderr
- if_let_mutex.rs
- if_not_else.fixed
- if_not_else.rs
- if_not_else.stderr
- if_not_else_bittest.rs
- if_same_then_else.rs
- if_same_then_else.stderr
- if_same_then_else2.rs
- if_same_then_else2.stderr
- if_then_some_else_none.fixed
- if_then_some_else_none.rs
- if_then_some_else_none.stderr
- if_then_some_else_none_unfixable.rs
- if_then_some_else_none_unfixable.stderr
- ifs_same_cond.rs
- ifs_same_cond.stderr
- ignore_without_reason.rs
- ignore_without_reason.stderr
- ignored_unit_patterns.fixed
- ignored_unit_patterns.rs
- ignored_unit_patterns.stderr
- impl.rs
- impl.stderr
- impl_hash_with_borrow_str_and_bytes.rs
- impl_hash_with_borrow_str_and_bytes.stderr
- impl_trait_in_params.rs
- impl_trait_in_params.stderr
- implicit_clone.fixed
- implicit_clone.rs
- implicit_clone.stderr
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- mod.rs
- sub.rs
- lib.rs
- other.rs
- Cargo.stderr
- Cargo.toml
- mod.rs
- lib.rs
- Cargo.stderr
- Cargo.toml
- mod.rs
- lib.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- impl.rs
- lib.rs
- Cargo.toml
- mod.rs
- a.rs
- b.rs
- c.rs
- d.rs
- from_other_module.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- lib.rs
- Cargo.stderr
- Cargo.toml
- lib.rs
- Cargo.toml
- bar.rs
- mod.rs
- mod.rs
- foo.rs
- lib.rs
- Cargo.stderr
- Cargo.toml
- most.rs
- stuff.rs
- inner.rs
- mod.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- inner.rs
- bad.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- mod.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- foo.rs
- mod.rs
- foo.rs
- lib.rs
- other.rs
- Cargo.stderr
- Cargo.toml
- mod.rs
- mod.rs
- foo.rs
- mod.rs
- main.rs
- Cargo.toml
- good.rs
- main.rs
- Cargo.toml
- foo.rs
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- mod.rs
- lib.rs
- Cargo.toml
- bar.rs
- foo.rs
- lib.rs
- Cargo.toml
- main.rs
- Cargo.toml
- clippy.toml
- main.rs
- .clippy.toml
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.lock
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- b.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- c.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- c.rs
- main.rs
- Cargo.stderr
- Cargo.toml
- clippy.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.stderr
- Cargo.toml
- main.rs
- Cargo.toml
- update-all-references.sh
- check_clippy_version_attribute.rs
- check_clippy_version_attribute.stderr
- check_formulation.rs
- check_formulation.stderr
- collapsible_span_lint_calls.fixed
- collapsible_span_lint_calls.rs
- collapsible_span_lint_calls.stderr
- custom_ice_message.rs
- custom_ice_message.stderr
- default_lint.rs
- default_lint.stderr
- disallow_span_lint.rs
- disallow_span_lint.stderr
- interning_literals.fixed
- interning_literals.rs
- interning_literals.stderr
- interning_literals_unfixable.rs
- interning_literals_unfixable.stderr
- invalid_msrv_attr_impl.fixed
- invalid_msrv_attr_impl.rs
- invalid_msrv_attr_impl.stderr
- lint_without_lint_pass.rs
- lint_without_lint_pass.stderr
- outer_expn_data.fixed
- outer_expn_data.rs
- outer_expn_data.stderr
- repeated_is_diagnostic_item.fixed
- repeated_is_diagnostic_item.rs
- repeated_is_diagnostic_item.stderr
- repeated_is_diagnostic_item_unfixable.rs
- repeated_is_diagnostic_item_unfixable.stderr
- symbol_as_str.fixed
- symbol_as_str.rs
- symbol_as_str.stderr
- symbol_as_str_unfixable.rs
- symbol_as_str_unfixable.stderr
- unnecessary_def_path.rs
- unnecessary_def_path.stderr
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- absolute_paths.allow_crates.stderr
- absolute_paths.allow_long.stderr
- absolute_paths.default.stderr
- absolute_paths.no_short.stderr
- absolute_paths.rs
- absolute_paths_2015.default.stderr
- absolute_paths_2015.rs
- clippy.toml
- uninlined_format_args.fixed
- uninlined_format_args.rs
- uninlined_format_args.stderr
- alphabetical_or_trait_item_order.rs
- alphabetical_or_trait_item_order_failed.rs
- alphabetical_or_trait_item_order_failed.stderr
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- clippy.toml
- trait_definition_order.rs
- trait_definition_order_failed.rs
- trait_definition_order_failed.trait_def.stderr
- clippy.toml
- ordering_good.bad_conf_1.stderr
- ordering_good.bad_conf_2.stderr
- ordering_good.bad_conf_3.stderr
- ordering_good.bad_conf_4.stderr
- ordering_good.bad_conf_5.stderr
- ordering_good.bad_conf_6.stderr
- ordering_good.rs
- ordering_good_var_1.rs
- ordering_mixed.default.stderr
- ordering_mixed.default_exp.stderr
- ordering_mixed.ord_within.stderr
- ordering_mixed.rs
- ordering_mixed_var_1.rs
- ordering_mixed_var_1.var_1.stderr
- ordering_only_enum.only_enum.stderr
- ordering_only_enum.rs
- ordering_only_impl.only_impl.stderr
- ordering_only_impl.rs
- ordering_only_trait.only_trait.stderr
- ordering_only_trait.rs
- selective_ordering.default.stderr
- selective_ordering.ord_in_2.stderr
- selective_ordering.ord_in_3.stderr
- selective_ordering.ord_within.stderr
- selective_ordering.rs
- arithmetic_side_effects_allowed.rs
- arithmetic_side_effects_allowed.stderr
- clippy.toml
- array_size_threshold.rs
- array_size_threshold.stderr
- clippy.toml
- await_holding_invalid_type.rs
- await_holding_invalid_type.stderr
- clippy.toml
- await_holding_invalid_type.rs
- await_holding_invalid_type.stderr
- clippy.toml
- clippy.toml
- conf_bad_toml.rs
- conf_bad_toml.stderr
- clippy.toml
- conf_bad_type.rs
- conf_bad_type.stderr
- clippy.toml
- ignore.rs
- clippy.toml
- clippy.toml
- check_incompatible_msrv_in_tests.default.stderr
- check_incompatible_msrv_in_tests.enabled.stderr
- check_incompatible_msrv_in_tests.rs
- clippy.toml
- collapsible_else_if.fixed
- collapsible_else_if.rs
- collapsible_else_if.stderr
- collapsible_if.fixed
- collapsible_if.rs
- collapsible_if.stderr
- collapsible_if_let_chains.fixed
- collapsible_if_let_chains.rs
- collapsible_if_let_chains.stderr
- clippy.toml
- conf_deprecated_key.rs
- conf_deprecated_key.stderr
- clippy.toml
- dbg_macro.fixed
- dbg_macro.rs
- dbg_macro.stderr
- clippy.toml
- decimal_literal_representation.fixed
- decimal_literal_representation.rs
- decimal_literal_representation.stderr
- clippy.toml
- ignore.rs
- macros.rs
- proc_macros.rs
- clippy.toml
- disallowed_macros.rs
- disallowed_macros.stderr
- clippy.toml
- disallowed_names.rs
- disallowed_names.stderr
- clippy.toml
- disallowed_names.rs
- disallowed_names.stderr
- clippy.toml
- disallowed_script_idents.rs
- disallowed_script_idents.stderr
- clippy.toml
- doc_markdown.fixed
- doc_markdown.rs
- doc_markdown.stderr
- clippy.toml
- doc_markdown.fixed
- doc_markdown.rs
- doc_markdown.stderr
- clippy.toml
- duplicated_keys.rs
- duplicated_keys.stderr
- clippy.toml
- duplicated_keys.rs
- duplicated_keys.stderr
- clippy.toml
- duplicated_keys.rs
- duplicated_keys.stderr
- clippy.toml
- enum_variant_size.fixed
- enum_variant_size.rs
- enum_variant_size.stderr
- clippy.toml
- excessive_nesting.rs
- excessive_nesting.stderr
- clippy.toml
- excessive_precision.fixed
- excessive_precision.rs
- excessive_precision.stderr
- clippy.toml
- expect_used.rs
- expect_used.stderr
- clippy.toml
- explicit_iter_loop.fixed
- explicit_iter_loop.rs
- explicit_iter_loop.stderr
- clippy.toml
- extra_unused_type_parameters.rs
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- conf_no_false_negatives.rs
- clippy.toml
- ifs_same_cond.rs
- ifs_same_cond.stderr
- clippy.toml
- impl_trait_in_params.rs
- impl_trait_in_params.stderr
- clippy.toml
- indexing_slicing.rs
- indexing_slicing.stderr
- clippy.toml
- invalid_min_rust_version.rs
- invalid_min_rust_version.stderr
- clippy.toml
- item_name_repetitions.rs
- item_name_repetitions.stderr
- clippy.toml
- item_name_repetitions.rs
- item_name_repetitions.stderr
- clippy.toml
- item_name_repetitions.rs
- item_name_repetitions.stderr
- clippy.toml
- item_name_repetitions.rs
- clippy.toml
- item_name_repetitions.rs
- item_name_repetitions.stderr
- clippy.toml
- large_futures.fixed
- large_futures.rs
- large_futures.stderr
- clippy.toml
- empty.txt
- large_include_file.rs
- large_include_file.stderr
- too_big.txt
- clippy.toml
- large_stack_frames.rs
- large_stack_frames.stderr
- clippy.toml
- large_stack_frames.rs
- large_stack_frames.stderr
- clippy.toml
- large_stack_frames.rs
- clippy.toml
- large_types_passed_by_value.fixed
- large_types_passed_by_value.rs
- large_types_passed_by_value.stderr
- clippy.toml
- test.fixed
- test.rs
- test.stderr
- test.rs
- test.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- manual_let_else.fixed
- manual_let_else.rs
- manual_let_else.stderr
- clippy.toml
- index_refutable_slice.fixed
- index_refutable_slice.rs
- index_refutable_slice.stderr
- extern_types.rs
- clippy.toml
- min_ident_chars.rs
- min_ident_chars.stderr
- clippy.toml
- min_ident_chars.rs
- min_ident_chars.stderr
- clippy.toml
- min_rust_version.fixed
- min_rust_version.rs
- min_rust_version.stderr
- clippy.toml
- clippy.toml
- clippy.toml
- missing_docs_in_private_items.allow_unused.stderr
- missing_docs_in_private_items.crate_root.stderr
- missing_docs_in_private_items.default.stderr
- missing_docs_in_private_items.rs
- clippy.toml
- conf_missing_enforced_import_rename.fixed
- conf_missing_enforced_import_rename.rs
- conf_missing_enforced_import_rename.stderr
- clippy.toml
- module_inception.rs
- module_inception.stderr
- clippy.toml
- modulo_arithmetic.rs
- modulo_arithmetic.stderr
- clippy.toml
- mut_key.rs
- clippy.toml
- needless_late_init.rs
- clippy.toml
- needless_pass_by_ref_mut.fixed
- needless_pass_by_ref_mut.rs
- needless_pass_by_ref_mut.stderr
- clippy.toml
- needless_raw_string_hashes.fixed
- needless_raw_string_hashes.rs
- needless_raw_string_hashes.stderr
- proc_macro_derive.rs
- clippy.toml
- conf_nonstandard_macro_braces.fixed
- conf_nonstandard_macro_braces.rs
- conf_nonstandard_macro_braces.stderr
- clippy.toml
- panic.rs
- panic.stderr
- clippy.toml
- path_ends_with_ext.rs
- clippy.toml
- print_macro.rs
- print_macro.stderr
- clippy.toml
- doc_lints.rs
- doc_lints.stderr
- clippy.toml
- clippy.toml
- pub_underscore_fields.all_pub_fields.stderr
- pub_underscore_fields.exported.stderr
- pub_underscore_fields.rs
- clippy.toml
- clippy.toml
- ref_option.all.fixed
- ref_option.all.stderr
- ref_option.private.fixed
- ref_option.private.stderr
- ref_option.rs
- ref_option_traits.all.stderr
- ref_option_traits.private.stderr
- ref_option_traits.rs
- clippy.toml
- clippy.toml
- renamed_function_params.default.stderr
- renamed_function_params.extend.stderr
- renamed_function_params.rs
- clippy.toml
- replaceable_disallowed_types.fixed
- replaceable_disallowed_types.rs
- replaceable_disallowed_types.stderr
- clippy.toml
- result_large_err.rs
- result_large_err.stderr
- both.fixed
- both.rs
- both.stderr
- clippy.toml
- semicolon_inside_block.fixed
- semicolon_inside_block.rs
- semicolon_inside_block.stderr
- semicolon_outside_block.fixed
- semicolon_outside_block.rs
- semicolon_outside_block.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- conf_french_disallowed_name.rs
- conf_french_disallowed_name.stderr
- clippy.toml
- conf_disallowed_fields.rs
- conf_disallowed_fields.stderr
- clippy.toml
- conf_disallowed_methods.rs
- conf_disallowed_methods.stderr
- clippy.toml
- conf_disallowed_types.rs
- conf_disallowed_types.stderr
- clippy.toml
- conf_inconsistent_struct_constructor.fixed
- conf_inconsistent_struct_constructor.rs
- conf_inconsistent_struct_constructor.stderr
- clippy.toml
- conf_invalid_path.rs
- conf_invalid_path.stderr
- clippy.toml
- replaceable_disallowed_methods.fixed
- replaceable_disallowed_methods.rs
- replaceable_disallowed_methods.stderr
- clippy.toml
- test.rs
- test.stderr
- clippy.toml
- toml_unknown_config_struct_field.rs
- toml_unknown_config_struct_field.stderr
- clippy.toml
- conf_unknown_key.rs
- conf_unknown_key.stderr
- clippy.toml
- conf_unloaded_crate.rs
- conf_unloaded_crate.stderr
- boxed_local.rs
- boxed_local.stderr
- clippy.toml
- useless_vec.fixed
- useless_vec.rs
- useless_vec.stderr
- clippy.toml
- too_many_arguments.rs
- too_many_arguments.stderr
- clippy.toml
- type_complexity.rs
- type_complexity.stderr
- clippy.toml
- main.rs
- main.stderr
- clippy.toml
- clippy.toml
- undocumented_unsafe_blocks.default.stderr
- undocumented_unsafe_blocks.disabled.stderr
- undocumented_unsafe_blocks.rs
- undocumented_unsafe_blocks_fixable.default.fixed
- undocumented_unsafe_blocks_fixable.default.stderr
- undocumented_unsafe_blocks_fixable.disabled.fixed
- undocumented_unsafe_blocks_fixable.disabled.stderr
- undocumented_unsafe_blocks_fixable.rs
- clippy.toml
- unnecessary_box_returns.fixed
- unnecessary_box_returns.rs
- unnecessary_box_returns.stderr
- clippy.toml
- unwrap_used.fixed
- unwrap_used.rs
- unwrap_used.stderr
- unwrap_used_const.rs
- unwrap_used_const.stderr
- clippy.toml
- unwrap_used_allowed.rs
- unwrap_used_allowed.stderr
- clippy.toml
- upper_case_acronyms.fixed
- upper_case_acronyms.rs
- upper_case_acronyms.stderr
- clippy.toml
- clippy.toml
- use_self.default.fixed
- use_self.default.stderr
- use_self.disabled.fixed
- use_self.disabled.stderr
- use_self.rs
- clippy.toml
- useless_vec.fixed
- useless_vec.rs
- useless_vec.stderr
- clippy.toml
- test.fixed
- test.rs
- test.stderr
- clippy.toml
- verbose_bit_mask.fixed
- verbose_bit_mask.rs
- verbose_bit_mask.stderr
- clippy.toml
- wildcard_imports.fixed
- wildcard_imports.rs
- wildcard_imports.stderr
- clippy.toml
- wildcard_imports.fixed
- wildcard_imports.rs
- wildcard_imports.stderr
- clippy.toml
- zero_single_char_names.rs
- update-all-references.sh
- check-fmt.rs
- clippy.toml
- compile-test.rs
- config-consistency.rs
- config-metadata.rs
- dogfood.rs
- integration.rs
- lint-attributes-organization.rs
- lint-page.rs
- lint_message_convention.rs
- missing-test-files.rs
- no-profile-in-cargo-toml.rs
- symbols-used.rs
- .editorconfig
- .gitattributes
- .gitignore
- .remarkrc
- askama.toml
- build.rs
- Cargo.toml
- CHANGELOG.md
- clippy.toml
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- COPYRIGHT
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- rust-toolchain.toml
- rustfmt.toml
# Installation Guide
rustSetup Steps
rustup update
Update Rustup and the compiler to the latest version.
rustup component add clippy
Install the clippy component via rustup.
cargo clippy
Run Clippy lints on your project.
Key Commands
cargo clippy
Analyze current Cargo project code and output lint warnings.
cargo clippy --fix
Automatically apply Clippy lint suggestions to the source code.
cargo clippy -p example
Run Clippy only on a specific package within the workspace.
clippy-driver --edition 2018 -Cpanic=abort foo.rs
Run Clippy directly instead of rustc for projects not using cargo.
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Showing a partial file list.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo check
View Details ▼
cargo check
Check a local package and all of its dependencies for errors.
cargo {{[c|check]}}
Check the current package:
cargo {{[c|check]}} --tests
Check all tests:
cargo {{[c|check]}} --test {{integration_test1}}
Check the integration tests in `tests/integration_test1.rs`:
cargo clippy
View Details ▼
cargo clippy
A collection of lints to catch common mistakes and improve your Rust code.
cargo clippy
Run checks over the code in the current directory:
cargo clippy --locked
Require that `Cargo.lock` is up to date:
cargo clippy --workspace
Run checks on all packages in the workspace:
rustc
View Details ▼
rustc
The Rust compiler.
Rust projects usually use `cargo` instead of invoking `rustc` directly.
rustc {{path/to/main.rs}}
Compile a binary crate:
rustc {{[-C|--codegen]}} lto {{[-C|--codegen]}} opt-level={{0|1|2|3|s|z}} {{path/to/main.rs}}
Compile with optimizations (`s` means optimize for binary size; `z` is the same with even more optimizations):
rustc {{[-g|--codegen debuginfo=2]}} {{path/to/main.rs}}
Compile with debugging information:
rustup component
View Details ▼
rustup component
Modify a toolchain's installed components.
Without the `--toolchain` option `rustup` will use the default toolchain. See `rustup help toolchain` for more information about toolchains.
rustup component add --toolchain {{toolchain}} {{component}}
Add a component to a toolchain:
rustup component remove --toolchain {{toolchain}} {{component}}
Remove a component from a toolchain:
rustup component list --toolchain {{toolchain}}
List installed and available components for a toolchain:
rustup self
View Details ▼
rustup self
Modify the `rustup` installation.
rustup self update
Update `rustup`:
rustup self uninstall
Uninstall `rustup`:
rustup update
View Details ▼
rustup update
Update Rust toolchains and `rustup` itself (if not installed using a package manager).
rustup update
Update all installed toolchains and `rustup`:
rustup update {{toolchain}}
Install or update a specific toolchain (see `rustup help toolchain` for more information):
# Project Badges
-
License: MIT OR Apache-2.0 Visit
