rust/clippy_lints/src
2024-03-22 15:58:29 +00:00
..
attrs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
cargo
casts Auto merge of #12508 - y21:issue12506, r=llogiq 2024-03-22 13:19:09 +00:00
doc Auto merge of #12472 - GuillaumeGomez:fix-10262, r=blyxyas 2024-03-14 21:39:25 +00:00
functions Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
loops Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
matches [single_match]: Fix duplicate diagnostics 2024-03-11 01:08:37 +08:00
methods Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
misc_early
operators Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
transmute Update version attribute for 1.77 lints 2024-03-18 22:59:52 +01:00
types Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
unit_types Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
utils Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
absolute_paths.rs
allow_attributes.rs
almost_complete_range.rs
approx_const.rs Propegate HIR and AST f16 and f128 types to clippy 2024-03-01 13:59:06 -05:00
arc_with_non_send_sync.rs
as_conversions.rs
asm_syntax.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
assertions_on_constants.rs
assertions_on_result_states.rs
assigning_clones.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
async_yields_async.rs
await_holding_invalid.rs
blocks_in_conditions.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
bool_assert_comparison.rs
bool_to_int_with_if.rs
booleans.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
borrow_deref_ref.rs
box_default.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
checked_conversions.rs
cognitive_complexity.rs
collapsible_if.rs
collection_is_never_read.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
comparison_chain.rs
copies.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
copy_iterator.rs
crate_in_macro_def.rs
create_dir.rs
dbg_macro.rs checks dbg inside other macros as well (but no ext macro); 2024-03-14 09:32:05 +08:00
declared_lints.rs new restriction lint: division_remainder_used 2024-03-11 22:51:03 +00:00
default_constructed_unit_structs.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
default_instead_of_iter_empty.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
default_numeric_fallback.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
default_union_representation.rs
default.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
deprecated_lints.rs
dereference.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
derivable_impls.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
derive.rs Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
disallowed_macros.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
disallowed_methods.rs
disallowed_names.rs
disallowed_script_idents.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
disallowed_types.rs
double_parens.rs
drop_forget_ref.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
duplicate_mod.rs
else_if_without_else.rs Fix duplicate lint emission from [else_if_without_else] 2024-03-08 22:36:17 -06:00
empty_drop.rs
empty_enum.rs
empty_with_brackets.rs
endian_bytes.rs
entry.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
enum_clike.rs
equatable_if_let.rs
error_impl_error.rs
escape.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
eta_reduction.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
excessive_bools.rs
excessive_nesting.rs
exhaustive_items.rs
exit.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
explicit_write.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
extra_unused_type_parameters.rs
fallible_impl_from.rs
float_literal.rs Propegate HIR and AST f16 and f128 types to clippy 2024-03-01 13:59:06 -05:00
floating_point_arithmetic.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
format_args.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
format_impl.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
format_push_string.rs
format.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 Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
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 Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
implicit_return.rs
implicit_saturating_add.rs
implicit_saturating_sub.rs
implied_bounds_in_impls.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
incompatible_msrv.rs Correct version for incompatible_msrv 2024-03-21 15:41:12 +00:00
inconsistent_struct_constructor.rs
index_refutable_slice.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
indexing_slicing.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
ineffective_open_options.rs
infinite_iter.rs
inherent_impl.rs
inherent_to_string.rs
init_numbered_fields.rs
inline_fn_without_body.rs Rename DiagnosticExt as DiagExt. 2024-03-05 12:14:49 +11:00
instant_subtraction.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
int_plus_one.rs
integer_division_remainder_used.rs new restriction lint: division_remainder_used 2024-03-11 22:51:03 +00:00
invalid_upcast_comparisons.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
item_name_repetitions.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
items_after_statements.rs
items_after_test_module.rs
iter_not_returning_iterator.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
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
len_zero.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
let_if_seq.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
let_underscore.rs Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
let_with_type_underscore.rs
lib.deprecated.rs
lib.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
lifetimes.rs
lines_filter_map_ok.rs
literal_representation.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
macro_use.rs Remove unused structs in clippy 2024-03-10 23:33:00 +08:00
main_recursion.rs
manual_assert.rs
manual_async_fn.rs
manual_bits.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
manual_clamp.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
manual_float_methods.rs
manual_hash_one.rs
manual_is_ascii_check.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
manual_let_else.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
manual_main_separator_str.rs
manual_non_exhaustive.rs
manual_range_patterns.rs
manual_rem_euclid.rs
manual_retain.rs Fix duplicate lint emission from [manual_retain] 2024-03-09 18:58:40 -06:00
manual_slice_size_calculation.rs
manual_string_new.rs
manual_strip.rs
manual_unwrap_or_default.rs Rename into manual_unwrap_or_default 2024-03-10 01:23:28 +01:00
map_unit_fn.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
match_result_ok.rs
mem_replace.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
min_ident_chars.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
minmax.rs
misc.rs Rollup merge of #122513 - petrochenkov:somehir4, r=fmease 2024-03-15 17:24:09 +01:00
mismatching_type_param_order.rs
missing_assert_message.rs
missing_asserts_for_indexing.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
missing_const_for_fn.rs
missing_doc.rs support manually search for docs in case attr was removed by proc macros 2024-03-08 16:32:47 +08:00
missing_enforced_import_rename.rs
missing_fields_in_debug.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
missing_inline.rs
missing_trait_methods.rs
mixed_read_write_in_expression.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
module_style.rs
multi_assignments.rs
multiple_bound_locations.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
multiple_unsafe_ops_per_block.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
mut_key.rs
mut_mut.rs use span_lint_hir instead of span_lint in more lints 2024-03-09 17:43:04 +01:00
mut_reference.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
mutable_debug_assertion.rs
mutex_atomic.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
needless_arbitrary_self_type.rs
needless_bool.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
needless_borrowed_ref.rs
needless_borrows_for_generic_args.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
needless_continue.rs
needless_else.rs
needless_for_each.rs
needless_if.rs
needless_late_init.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
needless_parens_on_range_literals.rs
needless_pass_by_ref_mut.rs Deduplicate associated_body and body_id 2024-03-18 18:12:32 +00:00
needless_pass_by_value.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
needless_question_mark.rs
needless_update.rs
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
new_without_default.rs Rename DiagnosticExt as DiagExt. 2024-03-05 12:14:49 +11:00
no_effect.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
no_mangle_with_rust_abi.rs
non_canonical_impls.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
non_copy_const.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
non_expressive_names.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
non_octal_unix_permissions.rs
non_send_fields_in_send_ty.rs
nonstandard_macro_braces.rs
octal_escapes.rs
only_used_in_recursion.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
option_env_unwrap.rs
option_if_let_else.rs
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 Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
permissions_set_readonly_false.rs
precedence.rs
ptr_offset_with_cast.rs
ptr.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
pub_underscore_fields.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
pub_use.rs
question_mark_used.rs
question_mark.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
ranges.rs
raw_strings.rs
rc_clone_in_vec_init.rs
read_zero_byte_vec.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
redundant_async_block.rs
redundant_clone.rs
redundant_closure_call.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
redundant_else.rs
redundant_field_names.rs Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
redundant_locals.rs
redundant_pub_crate.rs
redundant_slicing.rs
redundant_static_lifetimes.rs
redundant_type_annotations.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
ref_option_ref.rs
ref_patterns.rs
reference.rs
regex.rs
renamed_lints.rs
repeat_vec_with_capacity.rs
reserve_after_initialization.rs
return_self_not_must_use.rs
returns.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
same_name_method.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
self_named_constructors.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
semicolon_block.rs
semicolon_if_nothing_returned.rs
serde_api.rs
shadow.rs
significant_drop_tightening.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
single_call_fn.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
single_char_lifetime_names.rs
single_component_path_imports.rs
single_range_in_vec_init.rs
size_of_in_element_count.rs
size_of_ref.rs
slow_vector_initialization.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
std_instead_of_core.rs Fix #12438 false positive regression 2024-03-09 18:37:18 +01:00
strings.rs
strlen_on_c_strings.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
suspicious_operation_groupings.rs
suspicious_trait_impl.rs
suspicious_xor_used_as_pow.rs
swap_ptr_to_ref.rs
swap.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
tabs_in_doc_comments.rs
temporary_assignment.rs
tests_outside_test_module.rs
thread_local_initializer_can_be_made_const.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
to_digit_is_some.rs
to_string_trait_impl.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
trailing_empty_array.rs
trait_bounds.rs
tuple_array_conversions.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
unconditional_recursion.rs Update version attribute for 1.77 lints 2024-03-18 22:59:52 +01:00
undocumented_unsafe_blocks.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
unicode.rs
uninhabited_references.rs
uninit_vec.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
unit_return_expecting_ord.rs
unnamed_address.rs
unnecessary_box_returns.rs
unnecessary_map_on_constructor.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
unnecessary_owned_empty_strings.rs
unnecessary_self_imports.rs
unnecessary_struct_initialization.rs
unnecessary_wraps.rs
unnested_or_patterns.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
unsafe_removed_from_name.rs
unused_async.rs
unused_io_amount.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
unused_peekable.rs Merge remote-tracking branch 'upstream/master' into rustup 2024-03-21 22:05:29 +01:00
unused_rounding.rs
unused_self.rs
unused_unit.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
unwrap_in_result.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
unwrap.rs
upper_case_acronyms.rs
use_self.rs Enable unused_qualifications lint 2024-03-22 15:58:29 +00:00
useless_conversion.rs
vec_init_then_push.rs
vec.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
visibility.rs
wildcard_imports.rs chore: fix some typos 2024-03-12 14:38:57 +08:00
write.rs
zero_div_zero.rs
zero_repeat_side_effects.rs fix example code 2024-03-09 19:04:35 +00:00
zero_sized_map_values.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00