about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2021-04-13Refactor diagnostic item methodsCameron Steffen-14/+21
2021-04-12Auto merge of #7064 - ThibsG:WrongSelfFix, r=giraffatebors-0/+8
2021-04-12Auto merge of #7047 - camsteffen:lang-ctor, r=flip1995bors-6/+8
2021-04-11Fix FP in `wrong_self_convention` lintThibsG-0/+8
2021-04-10Deprecate filter_mapCameron Steffen-92/+1
2021-04-06Introduce is_lang_ctorCameron Steffen-6/+8
2021-04-06Symbol optimizationsCameron Steffen-3/+3
2021-04-06Fix all occurences of `needless_borrow` internallyJason Newcomb-50/+48
2021-04-05A new lint for shared code in if blocksxFrednet-32/+16
2021-04-02Auto merge of #7016 - camsteffen:bind-map-paths, r=Manishearthbors-81/+78
2021-04-01Remove paths from bind_instead_of_mapCameron Steffen-81/+78
2021-04-01Auto merge of #7002 - mgacek8:issue6983_wrong_self_convention_inside_trait_im...bors-8/+34
2021-03-31Eat dogfoodCameron Steffen-44/+33
2021-03-31Destructure args in methods moduleCameron Steffen-375/+412
2021-03-31Auto merge of #6342 - bbqbaron:issue-6061, r=flip1995bors-69/+171
2021-03-31Suggest `flatten` instead of `is_some` -> `unwrap`Eric Loren-69/+171
2021-03-29wrong_self_convention: fix FP inside trait impl for `to_*` methodMateusz Gacek-8/+34
2021-03-29Improve `clone_on_copy`Jason Newcomb-51/+67
2021-03-25Merge remote-tracking branch 'upstream/master' into rustupflip1995-531/+862
2021-03-24Rename `contains_adt` to `contains_adt_constructor`Jason Newcomb-3/+3
2021-03-24Fix false positive with `new_ret_no_self` when returning `Self` with differen...Jason Newcomb-3/+11
2021-03-25merge importsTakayuki Maeda-2/+1
2021-03-23Auto merge of #6957 - camsteffen:eq-ty-kind, r=flip1995bors-10/+8
2021-03-23Factor out eq_ty_kindCameron Steffen-10/+8
2021-03-22Auto merge of #6950 - Sciencentistguy:master, r=phanschbors-1/+1
2021-03-22Auto merge of #6896 - TaKO8Ki:refactor-lints-in-methods-module, r=phanschbors-333/+388
2021-03-22Ignore str::len() in or_fun_call lint.Jamie Quigley-1/+1
2021-03-21search_is_some: check also when search is noneMateusz Gacek-40/+124
2021-03-20Auto merge of #6924 - mgacek8:issue6727_copy_types, r=llogiqbors-56/+78
2021-03-19wrong_self_convention: Enhance lint messageMateusz Gacek-12/+15
2021-03-18Auto merge of #6928 - mgacek8:issue6675_or_fun_call_unsafe_blocks, r=phanschbors-2/+11
2021-03-18or_fun_call: trigger on unsafe blocksMateusz Gacek-2/+11
2021-03-17wrong_self_convention: `to_` respects `Copy` typesMateusz Gacek-47/+66
2021-03-18replace crate::methods::utils with super::utilsTakayuki Maeda-5/+5
2021-03-18remove the use of pathsTakayuki Maeda-2/+2
2021-03-18move get_hint_if_single_char_arg to methods/utils.rsTakayuki Maeda-35/+36
2021-03-18move chars_last_cmp_with_unwrap to its own moduleTakayuki Maeda-10/+15
2021-03-18extract conditions for single_char_pattern into its own moduleTakayuki Maeda-23/+25
2021-03-18extract condition for into_iter_on_ref to its own moduleTakayuki Maeda-23/+31
2021-03-18extract conditions for `from_iter_instead_of_collect` into its own moduleTakayuki Maeda-18/+14
2021-03-18extract conditions into modulesTakayuki Maeda-23/+26
2021-03-18move single_char_add_str to its own moduleTakayuki Maeda-0/+15
2021-03-18use clippy_utils::ty::is_type_diagnostic_itemTakayuki Maeda-1/+1
2021-03-18fmtTakayuki Maeda-1/+1
2021-03-18remove unused argumentsTakayuki Maeda-21/+6
2021-03-18extract a condition into a function.Takayuki Maeda-6/+6
2021-03-18remove a needless variableTakayuki Maeda-2/+1
2021-03-18use derefs_to_slice in methods/utils.rsTakayuki Maeda-46/+6
2021-03-18move derefs_to_slice to methods/utils.rsTakayuki Maeda-0/+46
2021-03-18refactor string_extend_chars: return when obj type is not stringTakayuki Maeda-28/+29