about summary refs log tree commit diff
path: root/clippy_utils
AgeCommit message (Expand)AuthorLines
2021-08-15Use `each_binding_or_first` in `capture_local_usage`Jason Newcomb-10/+12
2021-08-14Improve doc for `can_move_expr_to_closure_no_visit`Jason Newcomb-4/+29
2021-08-14Fix tracking of which locals would need to be captured in a closure.Jason Newcomb-11/+84
2021-08-14Improve `manual_map`Jason Newcomb-14/+103
2021-08-14Improve `manual_map` and `map_entry`Jason Newcomb-9/+35
2021-08-12Merge remote-tracking branch 'upstream/master' into rustupflip1995-8/+75
2021-08-12Auto merge of #7516 - lf-:unwrap-or-default, r=xFrednetbors-8/+27
2021-08-11Reword is_trait_item descriptionJade-3/+3
2021-08-10tree-wide: Fix all the rustdoc warningsJade-7/+7
2021-08-10Add is_trait_item, refactor or_fun_call and unwrap_or_else_defaultJade-16/+19
2021-08-10Add unwrap_or_else_default lintJade-2/+18
2021-08-09merge XOR_SWAP with MANUAL_SWAPhamidreza kalbasi-0/+48
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
2021-07-29Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyupflip1995-20/+30
2021-07-29Bump Clippy Version -> 0.1.56flip1995-1/+1
2021-07-29Merge remote-tracking branch 'upstream/master' into rustupflip1995-19/+29
2021-07-27Add primitive type support to disallowed_type lintDevin Ragotzy-1/+4
2021-07-27Auto merge of #7466 - xFrednet:5393-use-more-diagnostic-items, r=flip1995bors-16/+24
2021-07-26Actually infer args in visitorskadmin-3/+3
2021-07-25Add inferred args to typeckkadmin-6/+4
2021-07-25Add generic arg inferkadmin-1/+10
2021-07-19Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyupflip1995-40/+40
2021-07-19Merge remote-tracking branch 'upstream/master' into rustupflip1995-40/+40
2021-07-18Auto merge of #7474 - camsteffen:binop, r=Manishearthbors-26/+32
2021-07-17Factor BinOp utilsCameron Steffen-0/+31
2021-07-17Use From to convert BinOpKindCameron Steffen-26/+1
2021-07-17Fix ICE in `is_integer_const` when the expression is inside an `AnonConst` bodyJason Newcomb-6/+2
2021-07-16Auto merge of #87140 - camsteffen:pat-slice-refs, r=oli-obkbors-9/+9
2021-07-16Fix ICE in redundant_pattern_matchingflip1995-2/+4
2021-07-16Rollup merge of #87069 - sexxi-goose:copy_ref_always, r=nikomatsakisGuillaume Gomez-2/+2
2021-07-15Remove refs from pat slicesCameron Steffen-9/+9
2021-07-15Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyupflip1995-31/+175
2021-07-15Merge remote-tracking branch 'upstream/master' into rustupflip1995-31/+175
2021-07-15Use diagnostic items for `Vec`, `VecDeque` and connected refactoringsxFrednet-16/+0
2021-07-14Use diagnostic items for `intrinsics::transmute`, `TryInto`xFrednet-2/+2
2021-07-14Use diagnostic items for `Into`, `IntoIterator`, `LinkedList`, `ptr::null`, `...xFrednet-4/+22
2021-07-14Use diagnostic items for `BinaryHeap`, `BTreeMap`, `BTreeSet`, `HashMap`, `Ha...xFrednet-1/+7
2021-07-14Auto merge of #7437 - ebobrow:redundant-closure-move, r=flip1995bors-0/+47
2021-07-14suggest `&mut` for redundant FnMut closuresElliot Bobrow-0/+47
2021-07-14ExprUseVisitor::Delegate consume only when movingAman Arora-2/+2
2021-07-13Auto merge of #7446 - Y-Nak:fix-7445, r=xFrednet,flip1995bors-0/+3
2021-07-13Refactor format macro parsingCameron Steffen-6/+106
2021-07-13Fix `NumericLiteral::format` that may produce a invalid literalYoshitomo Nakanishi-0/+3
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-12/+2
2021-07-09Rename `is_allowed` -> `is_lint_allowed`flip1995-1/+1
2021-07-09Remove lints_enabled functionflip1995-19/+0
2021-07-08Rename run_lints -> lints_enabledflip1995-3/+3
2021-07-06Make type_implements_trait not a queryAman Arora-6/+8
2021-07-05Add new lint: strlen_on_c_stringsMateusz Gacek-0/+12
2021-07-04revert broken formattingNiko Matsakis-31/+25