about summary refs log tree commit diff
path: root/clippy_lints/src/methods/mod.rs
AgeCommit message (Expand)AuthorLines
2020-06-30Merge remote-tracking branch 'upstream/master' into rustup2flip1995-1/+1
2020-06-26rustc_lint: only query `typeck_tables_of` when a lint needs it.Eduard-Mihai Burtescu-54/+57
2020-06-24Auto merge of #5745 - montrivo:copy_on_clone, r=phanschbors-1/+1
2020-06-24copy_on_clone - add machine applicabilityTim Nielens-1/+1
2020-06-10Update Clippy for MethodCall changesAaron Hill-8/+8
2020-06-09Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippyLzu Tao-31/+147
2020-06-07dogfood unnested_or_patternsMazdak Farrokhzad-9/+4
2020-06-06Cleanup: Use rustc's `same_types` instead of our `same_tys`Philipp Hansch-6/+6
2020-06-02Auto merge of #5664 - ThibsG:GiveCorrectedCode, r=flip1995bors-15/+54
2020-06-02Auto merge of #5597 - esamudera:slice_iter_next, r=flip1995bors-1/+83
2020-06-01Corrected doc PR fixesThibsG-1/+5
2020-06-01Add more corrected code for docThibsG-15/+50
2020-06-01New lint: iter_next_sliceEricko Samudera-1/+83
2020-05-28Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2flip1995-11/+23
2020-05-25Fix buildJeremy Stucki-2/+2
2020-05-25Ignore calls to 'len'Jeremy Stucki-0/+15
2020-05-22Fix dogfood falloutflip1995-11/+8
2020-05-20introduce newtype'd `Predicate<'tcx>`Bastian Kauschke-3/+3
2020-05-20rename `Predicate` to `PredicateKind`, introduce aliasBastian Kauschke-2/+2
2020-05-17Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyupflip1995-223/+100
2020-04-29Fixed incorrect suggestion of `clone_double_ref` lintCrazyRoka-2/+2
2020-04-26More diagnostic itemsPhilipp Hansch-10/+10
2020-04-18Change note_span argument for span_lint_and_note.xiongmao86-3/+3
2020-04-18Add an Option<Span> argument to span_lint_and_help.xiongmao86-6/+13
2020-04-17Cleanup: Rename 'db' variable to 'diag'Philipp Hansch-8/+8
2020-04-16Lint map_flatten if caller is an OptionMarcin Serwin-1/+19
2020-04-14Auto merge of #5449 - phansch:diagnostic-items, r=matthiaskrgrbors-19/+16
2020-04-14Auto merge of #5457 - phansch:sym, r=matthiaskrgrbors-5/+5
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-14/+13
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