about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2024-03-23Do not rewrite `.as_ref().map(Arc::clone)` and similarSamuel Tardieu-1/+3
2024-03-23Add `should_call_clone_as_function()` utility functionSamuel Tardieu-6/+2
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-2/+2
2024-03-22Rename `hir::Node::Local` into `hir::Node::LetStmt`Guillaume Gomez-6/+6
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-4/+4
2024-03-22Auto merge of #12507 - Alexendoo:unused-qualifications, r=dswijbors-57/+48
2024-03-22Enable unused_qualifications lintAlex Macleod-57/+48
2024-03-22Fix clippyMichael Goulet-2/+2
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-22Eagerly convert some ctors to use their specialized ctorsMichael Goulet-5/+2
2024-03-22Auto merge of #12529 - samueltardieu:issue-12528, r=y21bors-0/+5
2024-03-22Auto merge of #12526 - kpreid:patch-2, r=blyxyasbors-2/+6
2024-03-22Do not warn on .map(_::clone) for Arc, Rc, and their weak variantsSamuel Tardieu-0/+5
2024-03-21Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-u...Philipp Krones-74/+316
2024-03-21Mention `size_hint()` effect in `flat_map_option` lint documentation.Kevin Reid-2/+6
2024-03-21Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-75/+318
2024-03-21Fix documentation typo "appects" > "affects"Rua-2/+2
2024-03-18Update version attribute for 1.77 lintsxFrednet-6/+6
2024-03-17Auto merge of #12479 - y21:readonly_write_lock_perf, r=Jarchobors-1/+1
2024-03-14Auto merge of #12432 - Ethiraric:fix-12411, r=y21bors-28/+175
2024-03-14[`unused_enumerate_index`]: Keep explicit element typeEthiraric-6/+39
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-3/+3
2024-03-14Simplify logicmaekawatoshiki-3/+2
2024-03-14Fix logicmaekawatoshiki-3/+3
2024-03-14Handle false positive with map_clonemaekawatoshiki-2/+8
2024-03-13move readonly_write_lock to perfy21-1/+1
2024-03-13[`unused_enumerate_index`]: trigger on method callsEthiraric-28/+142
2024-03-12Auto merge of #12469 - pavedroad:master, r=y21bors-1/+1
2024-03-12Auto merge of #12417 - Alexendoo:iter-nth, r=flip1995bors-29/+36
2024-03-12chore: fix some typospavedroad-1/+1
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-10refactor: readability improvement for `seek` lintHamir Mahal-2/+2
2024-03-09Auto merge of #12443 - cookie-s:noeffectreoplace-fix-dup-diags, r=Alexendoobors-0/+1
2024-03-09Auto merge of #12310 - samueltardieu:issue-12307, r=xFrednetbors-1/+83
2024-03-08[`no_effect_replace`]: Fix duplicate diagnosticskcz-0/+1
2024-03-07Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-u...Philipp Krones-0/+2
2024-03-07Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-1/+4
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-2/+2
2024-03-04Move `iter_nth` to `style`, add machine applicable suggestionAlex Macleod-29/+36
2024-03-04Auto merge of #12416 - Veykril:patch-2, r=blyxyasbors-0/+1
2024-03-04Add missing header for `manual_is_variant_and`Lukas Wirth-0/+1
2024-03-04Add missing header for `manual_c_str_literals`Lukas Wirth-0/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-27Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-u...Philipp Krones-173/+494
2024-02-27Auto merge of #11136 - y21:enhance_read_line_without_trim, r=dswijbors-27/+75
2024-02-26restructure lint code, update description, more casesy21-56/+73
2024-02-26[`read_line_without_trim`]: catch string eq checksy21-31/+62
2024-02-26Auto merge of #12342 - lucarlig:empty-docs, r=llogiqbors-1/+1
2024-02-26feat: extend `const_is_empty` with many kinds of constantsSamuel Tardieu-20/+29
2024-02-26feat: add `const_is_empty` lintSamuel Tardieu-1/+74