about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2020-04-13Auto merge of #5448 - Emerentius:update_new_ret_no_self_docs, r=phanschbors-2/+24
2020-04-13Cleanup: Use our `sym!` macro morePhilipp Hansch-5/+5
2020-04-12cargo dev fmtPhilipp Hansch-3/+1
2020-04-12Make use of Option/Result diagnostic itemsPhilipp Hansch-17/+16
2020-04-12Make use of some existing diagnostic itemsPhilipp Hansch-2/+2
2020-04-10Auto merge of #5441 - rabisg0:fix/clone-on-copy, r=phanschbors-2/+3
2020-04-10Update documentation for new_ret_no_selfEmerentius-2/+24
2020-04-10Rustup to https://github.com/rust-lang/rust/pull/70913Philipp Hansch-3/+3
2020-04-09Revert "Downgrade new_ret_no_self to pedantic"Philipp Krones-1/+1
2020-04-09Check for clone-on-copy in argument positionsRabi Guha-2/+3
2020-04-08Auto merge of #5437 - rabisg0:should-impl-trait, r=flip1995bors-35/+49
2020-04-08Check fn header along with decl when suggesting to implement traitRabi Guha-35/+49
2020-04-08Move cognitive_complexity to nurseryDavid Tolnay-1/+1
2020-04-08Rollup merge of #5425 - xiongmao86:issue5367, r=flip1995Philipp Krones-19/+38
2020-04-08Rollup merge of #5420 - dtolnay:newret, r=flip1995Philipp Krones-1/+1
2020-04-08Rollup merge of #5415 - nickrtorres:master, r=flip1995Philipp Krones-16/+83
2020-04-08Rollup merge of #5412 - dtolnay:tostring, r=flip1995Philipp Krones-1/+1
2020-04-08Use int assoc consts in MANUAL_SATURATING_ARITHMETICLinus Färnstrand-2/+2
2020-04-07rustup: update for the new Ty::walk interface.Eduard Burtescu-9/+16
2020-04-07Refine lint message.xiongmao86-4/+4
2020-04-06Lint on opt.as_ref().map(|x| &**x).xiongmao86-15/+34
2020-04-04result_map_or_into_option: fix syntax error in exampleNick Torres-4/+7
2020-04-04result_map_or_into: fix dogfood_clippy error => {h,l}intNick Torres-2/+2
2020-04-04result_map_or_into_option: fix `cargo dev fmt --check` errorsNick Torres-3/+0
2020-04-04result_map_or_into_option: move arg checks into tuple assignmentNick Torres-12/+13
2020-04-04result_map_or_into_option: destructure lint tuple or return earlyNick Torres-34/+40
2020-04-04result_map_or_into_option: add good and bad examplesNick Torres-2/+7
2020-04-04result_map_or_into_option: explicitly note absence of known problemsNick Torres-1/+1
2020-04-04Downgrade new_ret_no_self to pedanticDavid Tolnay-1/+1
2020-04-04result_map_or_into_option: add lint to catch manually adpating Result -> OptionNick Torres-25/+80
2020-04-02Downgrade inefficient_to_string to pedanticDavid Tolnay-1/+1
2020-03-30rustup https://github.com/rust-lang/rust/pull/70536Matthias Krüger-6/+6
2020-03-25Remove dependency on `matches` cratePhilipp Hansch-1/+0
2020-03-16rustup https://github.com/rust-lang/rust/pull/69738Matthias Krüger-2/+2
2020-03-16Auto merge of #5322 - phansch:or_patterns, r=matthiaskrgrbors-3/+1
2020-03-16rustup https://github.com/rust-lang/rust/pull/68944Matthias Krüger-7/+7
2020-03-16Make use of `or_patterns` featurePhilipp Hansch-3/+1
2020-03-13Rustup to rust-lang/rust#69674Yuki Okushi-1/+1
2020-03-03Use `try_eval_usize` over `eval_usize`Yuki Okushi-1/+7
2020-03-01Rustup to rust-lang/rust#69592Yuki Okushi-2/+2
2020-02-21Fix falloutflip1995-2/+5
2020-02-17Rename `FunctionRetTy` to `FnRetTy`Yuki Okushi-6/+6
2020-02-15Avoid using regions from `TypeckTables`Matthew Jasper-2/+37
2020-02-12change in the right place, run update_lintsLily Chung-1/+1
2020-02-03improve 'iter_nth_zero' documentationAreredify-2/+3
2020-01-30Un-ignore most code blocks to render correctly on website, correct mistakesLudwig Stecher-21/+47
2020-01-30Fix code formatting for more lintsLudwig Stecher-9/+9
2020-01-30Fix syntax highlighting of code fenceLudwig Stecher-1/+1
2020-01-30Reformat code.xiongmao86-4/+4
2020-01-27Rename `span_note_and_lint` to `span_lint_and_note`Yuki Okushi-5/+5