about summary refs log tree commit diff
path: root/clippy_lints/src
AgeCommit message (Expand)AuthorLines
2025-01-21`short_circuit_statement`: handle macros and parenthesis betterSamuel Tardieu-10/+9
2025-01-21fix: correct suggestion for significant_drop_in_scrutinee in expressions (#14...Timo-2/+2
2025-01-20`match_bool`: omit suggestion if guard is presentSamuel Tardieu-24/+27
2025-01-20New lint: `unnecessary_semicolon` (#14032)llogiq-73/+139
2025-01-20`needless_option_take`: add autofixSamuel Tardieu-4/+14
2025-01-20Fix out-of-date commentSamuel Tardieu-2/+1
2025-01-20`useless_conversion`: use multipart suggestion to make adjustments more visibleSamuel Tardieu-17/+12
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-5/+2
2025-01-20auto-fix for redundant_else lintlapla-cogito-4/+42
2025-01-19Use clearer multipart suggestions for `unnecessary_map_or` lint (#13998)Timo-22/+15
2025-01-19add a new lint for `repeat().take()` that can be replaced with `repeat_n()` (...Timo-1/+71
2025-01-19`useless_conversion`: add needed adjustments to suggestionSamuel Tardieu-2/+20
2025-01-19Apply `unnecessary_semicolon` to Clippy sourcesSamuel Tardieu-73/+73
2025-01-19New lint: `unnecessary_semicolon`Samuel Tardieu-0/+66
2025-01-19Update version for unneeded_struct_patternalexey semenyuk-1/+1
2025-01-19change `literal_string_with_formatting_args` lint category to nursery (#14014)Alex Macleod-1/+1
2025-01-19Make `unnecessary_map_or` work with ref and `Deref`Samuel Tardieu-1/+1
2025-01-19Use clearer multipart suggestions for `unnecessary_map_or` lintSamuel Tardieu-22/+15
2025-01-19chore: change to nursery insteadanatawa12-1/+1
2025-01-18Fix regression #14007Guillaume Gomez-1/+5
2025-01-18Fix typo in `check_clousure` function nameSamuel Tardieu-4/+4
2025-01-17Update doc wildcard_dependencies (#13810)llogiq-0/+9
2025-01-18Update doc wildcard_dependenciesalexey semenyuk-0/+9
2025-01-17fix: correct suggestion for significant_drop_in_scrutinee in expressionsVishruth-Thimmaiah-2/+2
2025-01-17change literal_string_with_formatting_args lint to pedanticanatawa12-1/+1
2025-01-17Do not trigger `[size_of_in_element_count]` for `u8`Samuel Tardieu-5/+5
2025-01-16[`path_buf_push_overwrite`]: mark suggestion as `MaybeIncorrect`Samuel Tardieu-1/+1
2025-01-15Suggest using `Vec::extend()` in `same_item_push`Samuel Tardieu-12/+24
2025-01-15Use `is_from_proc_macro` instead of checking if the snippet contains the literalGuillaume Gomez-10/+5
2025-01-15Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davi...Guillaume Gomez-1/+1
2025-01-15allowed_through_unstable_modules: support showing a deprecation message when ...Ralf Jung-1/+1
2025-01-15use `repeat_n()` where availablelapla-cogito-1/+1
2025-01-15add `manual_repeat_n` lintlapla-cogito-0/+70
2025-01-15New lint `useless-nonzero-new_unchecked` (#13993)Manish Goregaokar-0/+90
2025-01-14Rust 1.81 and later support elision with explicit self types (#13992)Alex Macleod-14/+40
2025-01-14Suggest `manual_div_ceil` even when right operand is a constant (#13951)Alejandra González-0/+36
2025-01-14Address review commentsSamuel Moelius-1/+1
2025-01-14Add hir::HeaderSafety to make follow up commits simplerOli Scherer-10/+10
2025-01-14Do not look for significant drop inside `.await` expansion (#13985)dswij-2/+3
2025-01-13New lint `useless-nonzero-new_unchecked`Samuel Tardieu-0/+90
2025-01-13Rust 1.81 and later support elision with explicit self typesSamuel Tardieu-14/+40
2025-01-13Suggest `manual_div_ceil` even when right operand is a constantSamuel Tardieu-0/+36
2025-01-13auto-fix `slow_vector_initialization` in some cases (#13947)Alejandra González-1/+10
2025-01-13fix escaping problem in `write_literal` and `print_literal` lintlapla-cogito-1/+1
2025-01-12don't suggest to use `cloned` for `Cow` in `unnecessary_to_owned` (#13853)Timo-0/+3
2025-01-12Do not trigger `redundant_pub_crate` in external macros (#13952)Catherine Flores-0/+3
2025-01-12Do not trigger `redundant_pub_crate` in external macrosSamuel Tardieu-0/+3
2025-01-12Add new lint `unneeded_struct_pattern` (#13465)Catherine Flores-2/+81
2025-01-11Do not look for significant drop inside `.await` expansionSamuel Tardieu-2/+3
2025-01-11migrate `clippy` to the `DenseBitSet` nameRémy Rakic-2/+2