about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2019-08-22Add examples to some correctness lintsBO41-0/+4
2019-08-21Fix `temporary_cstring_as_ptr` false negativeMichael Wright-7/+5
2019-08-19Remove in_macro_or_desugarKRAAI, MATTHEW [VISUS]-6/+6
2019-08-19Auto merge of #4411 - mikerite:fix-4384, r=flip1995bors-20/+20
2019-08-19Fix `clone_on_copy` false positivesMichael Wright-20/+20
2019-08-19Add option_and_then_some lintLzu Tao-5/+124
2019-08-18Change lint type to 'complexity'Jeremy Stucki-4/+6
2019-08-15Implement lint 'suspicious_map'Jeremy Stucki-0/+28
2019-08-14Remove unused importJeremy Stucki-1/+1
2019-08-14Use different spanJeremy Stucki-11/+10
2019-08-14Auto merge of #4369 - mikerite:fix-4293, r=flip1995bors-160/+99
2019-08-14Merge branch 'origin/master' into flat-mapJeremy Stucki-4/+5
2019-08-13Use correct spanJeremy Stucki-1/+1
2019-08-12Use 'span_lint_and_sugg'Jeremy Stucki-5/+13
2019-08-12Minor refactoringJeremy Stucki-27/+22
2019-08-12Change lint type from 'pedantic' → 'complexity'Jeremy Stucki-1/+1
2019-08-11Update rustdocJeremy Stucki-2/+4
2019-08-11Refactor if_chainJeremy Stucki-24/+25
2019-08-11Rename 'flat_map' → 'flat_map_identity'Jeremy Stucki-6/+10
2019-08-11Handle calls with 'std::convert::identity'Jeremy Stucki-0/+18
2019-08-11Merge branch 'origin/master' into flat-mapJeremy Stucki-47/+104
2019-08-10Fix `wrong_self_convention` issueMichael Wright-1/+17
2019-08-10Simplify `wrong_self_convention` codeMichael Wright-153/+76
2019-08-10Rename implitem to impl_itemMichael Wright-12/+12
2019-08-09new_ret_no_self: walk associated types in impl Trait return typesLukas Markeffsky-4/+5
2019-08-09Auto merge of #4362 - lzutao:expect-on-cstring_as_ptr, r=flip1995bors-1/+3
2019-08-09Fix lint_cstring_as_ptr for expectLzu Tao-1/+3
2019-08-09Fix lint_single_char_pattern on raw string literalLzu Tao-3/+10
2019-08-06Rustup https://github.com/rust-lang/rust/pull/59369Lzu Tao-1/+1
2019-08-05Rollup merge of #4331 - phansch:doctests_restriction, r=flip1995Philipp Krones-6/+30
2019-08-03Doctests: Enable running doc tests for restriction lintsPhilipp Hansch-6/+30
2019-08-03Doctests: Enable running doc tests for pedantic lintsPhilipp Hansch-6/+13
2019-08-03Auto merge of #4327 - phansch:doctests_perf, r=flip1995bors-6/+18
2019-08-03Doctests: Enable running doc tests for perf lintsPhilipp Hansch-6/+18
2019-08-02Doctests: Fix all complexity lint docsPhilipp Hansch-4/+9
2019-07-31Update all the code to pass the updated `use_self` lint.Jakub Wieczorek-20/+20
2019-07-08Implement flat_map lintJeremy Stucki-0/+46
2019-07-06Rename hir::map::local_def_id_from_hir_id to local_def_idLzu Tao-1/+1
2019-06-25get_parent_node_by_hir_id -> get_parent_nodeManish Goregaokar-1/+1
2019-06-22Auto merge of #4220 - d-dorazio:4182-needless-return-void-functions, r=flip1995bors-6/+5
2019-06-22Fix fallout cause NodeId pruningLzu Tao-1/+1
2019-06-21update tests and fix lints in clippyDaniele D'Orazio-6/+5
2019-06-20Fix warnings about unnecessary lifetime boundsLzu Tao-10/+10
2019-06-19Fix lifetime mismatch between LateContext and TyLzu Tao-1/+1
2019-06-18rustup https://github.com/rust-lang/rust/pull/61836/Matthias Krüger-2/+2
2019-06-04Fix comment grammarmikerite-1/+1
2019-06-02Fix .map(..).unwrap_or_else(..) bad suggestionMichael Wright-0/+14
2019-05-27Fix typo in commentSeo Sanghyeon-1/+1
2019-05-18DogfoodOliver Scherer-61/+56
2019-05-18Dogfood and rustfmtOliver Scherer-24/+8