about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2023-09-29Add missing lint description headersDaniPopes-0/+1
2023-09-26Auto merge of #116144 - lcnr:subst-less, r=oli-obkbors-2/+2
2023-09-26subst -> instantiatelcnr-2/+2
2023-09-25Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyupPhilipp Krones-14/+186
2023-09-20Remove most usage of `hir_ty_to_ty`Alex Macleod-6/+7
2023-09-17Fix missing semicolon in redundant_as_str docstring exampleDev381-2/+2
2023-09-17Add redundant_as_str lintDev381-0/+63
2023-09-16also count derefs through custom `Deref` implsy21-6/+7
2023-09-16[`filter_map_bool_then`]: peel as many refs as neededy21-4/+11
2023-09-15new lint: `path_ends_with_ext`y21-0/+100
2023-09-15Auto merge of #11506 - mojave2:issue-11503, r=giraffatebors-2/+3
2023-09-15fix filter_map_bool_then with a bool referencemojave2-2/+3
2023-09-14Return a value from find_format_args instead of using a callbackAlex Macleod-7/+6
2023-09-12Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyupPhilipp Krones-11/+155
2023-09-01Auto merge of #11430 - TDecking:vec-fmt, r=giraffatebors-2/+2
2023-08-30Auto merge of #11396 - y21:issue11345, r=Jarchobors-2/+136
2023-08-30Documentation FormattingTobias Decking-2/+2
2023-08-25lint vecs, version bump, more testsy21-26/+41
2023-08-24Auto merge of #11360 - lengyijun:any_all, r=blyxyasbors-7/+17
2023-08-24Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyupPhilipp Krones-28/+160
2023-08-24Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-29/+162
2023-08-24new lint: `iter_out_of_bounds`y21-2/+121
2023-08-24[`iter_overeager_cloned`]: detect .cloned().all() and .cloned().any()lengyijun-7/+17
2023-08-20Auto merge of #11359 - Alexendoo:unwrap-or-default-check-suggestion, r=dswijbors-2/+17
2023-08-19Check that the suggested method exists in unwrap_or_defaultAlex Macleod-2/+17
2023-08-19[`iter_overeager_cloned`]: detect .cloned().map() and .cloned().for_each()lengyijun-8/+83
2023-08-18Update version attribute for 1.72 lintsxFrednet-2/+2
2023-08-15allow calling `to_owned` with borrowed value for [`implicit_clone`]J-ZhengLi-0/+1
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-2/+2
2023-08-14[`iter_overeager_cloned`]: detect .cloned().filter() and .cloned().find()lengyijun-18/+59
2023-08-11Merge commit '1e8fdf492808a25d78a97e1242b835ace9924e4d' into clippyupPhilipp Krones-130/+224
2023-08-11Auto merge of #11316 - flip1995:rustup, r=flip1995bors-2/+2
2023-08-10Revert "New lint [`filter_map_bool_then`]"Catherine Flores-79/+0
2023-08-10Don't ICE with late bound regionsCatherine Flores-3/+11
2023-08-10Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-131/+139
2023-08-05Small code style adjustmentslengyijun-12/+6
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+2
2023-08-02Extract never-like into `clippy_utils`Catherine Flores-19/+15
2023-08-02Do not lint unwrapping on `!` or never-like enumsCatherine Flores-103/+120
2023-08-02Alphabetically order arms in methods/mod.rs matchYour Name-19/+19
2023-07-31Merge commit '5436dba826191964ac1d0dab534b7eb6d4c878f6' into clippyupPhilipp Krones-185/+814
2023-07-30Auto merge of #11261 - y21:issue11260, r=blyxyasbors-0/+10
2023-07-30[`unnecessary_find_map`]: look for then_somey21-0/+10
2023-07-30Add debug assertions to `implements_trait`Jason Newcomb-1/+1
2023-07-28Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-186/+806
2023-07-28pattern match on local usage slice to avoid ICEy21-2/+3
2023-07-27make lint description more consistent (writer/reader -> write/read)Timo-1/+1
2023-07-27new lint: [`readonly_write_lock`]y21-0/+87
2023-07-25Add `sym::iter_mut` + `sym::as_mut_ptr`blyxyas-1/+1
2023-07-25Only lint `Copy` typesCatherine-9/+15