about summary refs log tree commit diff
path: root/clippy_lints
AgeCommit message (Expand)AuthorLines
2025-01-13Rust 1.81 and later support elision with explicit self typesSamuel Tardieu-14/+40
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-10Correct version of `literal_string_with_formatting_args` (#13974)Catherine Flores-1/+1
2025-01-10New lint: manual_ok_err (#13740)Alejandra González-0/+181
2025-01-10New lint: manual_ok_errSamuel Tardieu-0/+181
2025-01-10Use diagnostic item instead of path for `core::fmt::Debug` (#13949)Philipp Krones-1/+1
2025-01-10Do not intersect spans coming from different contexts (#13942)dswij-1/+3
2025-01-10Do not propose to elide lifetimes if this causes an ambiguity (#13929)Fridtjof Stoldt-0/+39
2025-01-10Do not intersect spans coming from different contextsSamuel Tardieu-1/+3
2025-01-09Correct version of `literal_string_with_formatting_args`Kevin Reid-1/+1
2025-01-09Check for needless uses of str::bytes()Quentin Santos-6/+6
2025-01-09Remove needless check of returned typeQuentin Santos-7/+5
2025-01-09Bump Clippy version -> 0.1.86Philipp Krones-1/+1
2025-01-09Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-223/+545
2025-01-08 Fix type suggestion for manual_is_ascii_check (#13916)Alex Macleod-15/+10
2025-01-08Do not propose to elide lifetimes if this causes an ambiguitySamuel Tardieu-0/+39
2025-01-08Remove unnecessary string allocationA_A-7/+6
2025-01-07Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obkMatthias Krüger-4/+16
2025-01-07Do not remove identity mapping if mandatory mutability would be lost (#13905)Alex Macleod-2/+13
2025-01-07Remove unneeded parentheses in `unnecessary_map_or` lint output (#13932)Alex Macleod-5/+19
2025-01-07Don't emit machine applicable `map_flatten` lint if there are code comments (...Fridtjof Stoldt-2/+7
2025-01-06`clippy::redundant_locals` is not a correctness linthrxi-3/+3
2025-01-06Do not trigger `missing_const_for_fn` for tests (#13945)Manish Goregaokar-3/+6
2025-01-06Don't emit machine applicable `map_flatten` lint if there are code commentsGuillaume Gomez-2/+7
2025-01-06Changelog for Clippy 1.84 🧨 (#13937)Catherine Flores-3/+3
2025-01-05Use diagnostic item instead of path for `core::fmt::Debug`Samuel Tardieu-1/+1
2025-01-06Do not trigger clippy::missing_const_for_fn triggering for testsAlexey Semenyuk-3/+6
2025-01-04Only emit `useless_vec` suggestion if the macro does not contain code comment...Fridtjof Stoldt-3/+13
2025-01-04[`needless_continue`]: lint if the last stmt in loop is `continue` recurisvel...Alejandra González-29/+115
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-22/+46
2025-01-03Only emit `useless_vec` suggestion if the macro does not contain code commentsGuillaume Gomez-3/+13
2025-01-03Update version attribute for 1.84 clippy lintsxFrednet-3/+3
2025-01-03Remove unneeded parentheses in `unnecessary_map_or` lint outputSamuel Tardieu-5/+19
2025-01-02Add lint for calling `Iterator::last()` on `DoubleEndedIterator` (#13922)Manish Goregaokar-1/+72
2025-01-02Emit redundant if when duplicated in `needless_continue`yanglsh-8/+21
2025-01-01Dogfood double_ended_iterator_lastQuentin Santos-2/+2
2025-01-01Revert "Dogfood double_ended_iterator_last"Quentin Santos-9/+9
2025-01-01Only complain about default Iterator::last()Quentin Santos-1/+16
2025-01-01Prefer if chain to let-elseQuentin Santos-29/+13
2025-01-01Improve `slow_vector_initialization` suggestion (#13912)Alejandra González-9/+13
2025-01-01Dogfood double_ended_iterator_lastQuentin Santos-9/+9
2025-01-01Add lint for calling last() on DoubleEndedIteratorQuentin Santos-0/+72
2025-01-01Check if deref target implements `is_empty` for `len_zero` lint (#13871)Alejandra González-14/+27
2025-01-01Check if deref target implements `is_empty` for `len_zero` lintSamuel Tardieu-14/+27
2024-12-31cover guard patterns in clippy lintsMax Niederman-4/+16
2024-12-31refactor manual_is_ascii_check to remove unused parameterA_A-5/+4
2024-12-31fix type suggestion for manual_is_ascii_check (#13913)A_A-8/+5