about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2024-05-27`unnecessary_to_owned` should not suggest to remove `&` in macro expansionMarc Dominik Migge-15/+17
2024-05-23For restriction lints, replace “Why is this bad?” with “Why restrict th...Kevin Reid-10/+11
2024-05-21Added check for type unification with the iterschvv31n-3/+7
2024-05-20Accounted for possible extra layers before the consuming parent exprschvv31n-2/+2
2024-05-20fixed formattingschvv31n-5/+6
2024-05-20Lint on closure calls, suppress on callable constants callsschvv31n-8/+7
2024-05-19initial fixschvv31n-1/+42
2024-05-19Swap `for_each_expr` and `for_each_expr_with_closures`Alex Macleod-8/+8
2024-05-16Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-17/+81
2024-05-13split out AliasTy -> AliasTermMichael Goulet-1/+1
2024-05-12Propagate errors rather than using return_if_errMichael Goulet-2/+1
2024-05-12Make LateCtxt be a type info delegate for EUV for clippyMichael Goulet-6/+3
2024-05-11Auto merge of #12770 - notriddle:notriddle/doc-lazy-continuation, r=llogiqbors-4/+7
2024-05-08Simplify `use crate::rustc_foo::bar` occurrences.Nicholas Nethercote-1/+1
2024-05-07Check inner caller for clone and judge whether they are mutablecocodery-2/+51
2024-05-06Update doc comments to avoid lazy continuationsMichael Howell-4/+7
2024-05-03Auto merge of #12567 - Alexendoo:format-args-storage, r=flip1995bors-4/+18
2024-05-02Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-u...Philipp Krones-24/+35
2024-05-02Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-25/+37
2024-05-02Auto merge of #12735 - xFrednet:changelog-1-78, r=dswijbors-2/+2
2024-05-01Fix `FormatArgs` storage when `-Zthreads` > 1Alex Macleod-4/+18
2024-04-29Update version attribute for 1.78 lintsxFrednet-2/+2
2024-04-29suppress `readonly_write_lock` for underscore-prefixed bindingsy21-1/+6
2024-04-27Auto merge of #12624 - J-ZhengLi:issue12586, r=xFrednetbors-3/+2
2024-04-23chore: fix some typos in commentsforcedebug-1/+1
2024-04-22Auto merge of #11852 - rust-lang:single-char-pattern-ascii-only, r=xFrednetbors-11/+20
2024-04-18Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into clippy-subtree-u...Philipp Krones-8/+31
2024-04-18Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-9/+33
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-16/+16
2024-04-17fix [`large_stack_arrays`] linting in `vec` macro & add `matching_root_macro_...J-ZhengLi-3/+2
2024-04-16Always use `ty::` qualifier for `TyKind` enum variants.Nicholas Nethercote-3/+3
2024-04-14Auto merge of #12094 - yuxqiu:search_is_some, r=xFrednet,ARandomDev99bors-7/+31
2024-04-11downgrade to pedanticAndre Bogus-3/+5
2024-04-11reduce `single_char_pattern` to only lint on ascii charsAndre Bogus-10/+17
2024-04-08Fix markdown syntax in str_split_at_newline docsWilfred Hughes-1/+0
2024-04-08Stop exporting `TypeckRootCtxt` and `FnCtxt`.Oli Scherer-4/+1
2024-04-04Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-u...Philipp Krones-165/+209
2024-04-04Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-166/+211
2024-04-01fix: fix ci errorsYuxiang Qiu-1/+1
2024-04-01fix: check if receiver's hir_id matches expr's hir_idYuxiang Qiu-1/+2
2024-04-01fix: incorrect suggestions when `.then` and `.then_some` is usedYuxiang Qiu-6/+29
2024-04-01fix fallout from previous commity21-76/+76
2024-03-31Auto merge of #12562 - m-rph:12501, r=y21bors-3/+15
2024-03-30lint on any `Box<dyn _>`, but provide a suggestion for subtypes of `dyn Any`y21-42/+55
2024-03-30[`type_id_on_box`]: lint of `Any` subtraitsy21-12/+34
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-4/+3
2024-03-26Inherited -> TypeckRootCtxtMichael Goulet-3/+3
2024-03-26:adjust applicability for typed identity closures in `filter_map_identity`Quinn Sinclair-1/+1
2024-03-25Allow `filter_map_identity` when the closure is typedQuinn Sinclair-3/+15
2024-03-23Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obkMatthias Krüger-10/+10