about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2024-01-09Don't lint with `map_clone` if current type is `Option` or `Result` and metho...Guillaume Gomez-4/+11
2024-01-09Clean up code in `map_clone` and `useless_asref` lintsGuillaume Gomez-59/+59
2024-01-09Also handle `Result` type for `map_clone` lintGuillaume Gomez-0/+1
2024-01-09Extend `useless_asref` lint on `map(clone)`Guillaume Gomez-3/+132
2024-01-08Rustdoc and Clippy stop misusing Key for Ty -> (adt) DefIdMichael Goulet-10/+4
2024-01-07Auto merge of #12080 - PartiallyTyped:12058, r=xFrednetbors-49/+160
2024-01-07Fixed ICE introduced in #12004Quinn Sinclair-49/+160
2024-01-07Auto merge of #12109 - GuillaumeGomez:map-clone-call, r=llogiqbors-9/+22
2024-01-07Handle "calls" inside the closure as well in `map_clone` lintGuillaume Gomez-9/+22
2024-01-06Auto merge of #12104 - GuillaumeGomez:map-clone, r=llogiqbors-34/+64
2024-01-06Extend `map_clone` lint to also work on non-explicit closuresGuillaume Gomez-34/+64
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2024-01-05Auto merge of #12091 - samueltardieu:issue-12068, r=Alexendoobors-3/+16
2024-01-05Auto merge of #12051 - y21:option_as_ref_cloned, r=dswijbors-1/+55
2024-01-04Add .as_ref() to suggestion to remove .to_string()Samuel Tardieu-3/+16
2024-01-03Auto merge of #12030 - torfsen:11973-fix-quoting-of-double-quote-in-char-lite...bors-0/+1
2024-01-03new lint: `option_as_ref_cloned`y21-1/+55
2024-01-02fix some typosYuxiang Qiu-2/+2
2024-01-01Address unused tuple struct fields in clippyJake Goulding-8/+8
2024-01-01Add comments for unnecessary_fallible_conversionsroife-0/+1
2024-01-01Add autofix for functions in unnecessary_fallible_conversionsroife-33/+68
2023-12-31Auto merge of #12065 - samueltardieu:issue-12063, r=llogiqbors-4/+4
2023-12-31Add `.front()` to `get_first` lint descriptionSamuel Tardieu-4/+4
2023-12-318733: Suggest `str.lines` when splitting at hard-coded newlinesFlorian Brucker-0/+73
2023-12-30Auto merge of #11865 - yuxqiu:map_unwrap_or_default, r=Jarchobors-3/+96
2023-12-29Remove mitigations for incorrect node argsMichael Goulet-4/+5
2023-12-28Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-syncPhilipp Krones-26/+307
2023-12-28Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-27/+309
2023-12-2711973: Don't escape `"` in `'"'`Florian Brucker-0/+1
2023-12-26feat: add `manual_is_variant_and` lintYuxiang Qiu-3/+96
2023-12-26Auto merge of #12004 - PartiallyTyped:11843, r=xFrednetbors-3/+163
2023-12-25Fix clippy's usage of Body's coroutine_kindMichael Goulet-1/+0
2023-12-24formattingQuinn Sinclair-9/+2
2023-12-24Added MSRV and more tests, improved wordingQuinn Sinclair-12/+29
2023-12-21New lints `iter_filter_is_some` and `iter_filter_is_ok`Quinn Sinclair-3/+153
2023-12-18Extend `UNNECESSARY_TO_OWNED` to handle `split`Guillaume Gomez-0/+56
2023-12-16Auto merge of #11869 - PartiallyTyped:result-filter-map, r=Alexendoobors-24/+89
2023-12-16[`redundant_pattern_matching`]: catch `if let true`y21-1/+1
2023-12-16Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyupPhilipp Krones-22/+17
2023-12-16Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-23/+19
2023-12-16New Lint: `Result_filter_map`Quinn Sinclair-24/+89
2023-12-13Auto merge of #11953 - Jarcho:issue_11952, r=Alexendoobors-16/+15
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-4/+4
2023-12-12Add `write_and_append` lintGuillaume Gomez-1/+1
2023-12-11Fix binder handling in `unnecessary_to_owned`Jason Newcomb-16/+15
2023-12-10Delay several `is_from_proc_macro` checksJason Newcomb-5/+1
2023-12-10remove redundant importssurechen-1/+1
2023-12-01Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-syncPhilipp Krones-26/+237
2023-12-01Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-27/+239
2023-11-26`manual_try_fold`: check that `fold` is really `Iterator::fold`Samuel Tardieu-2/+3