summary refs log tree commit diff
path: root/src/tools/clippy
AgeCommit message (Expand)AuthorLines
2024-03-14add a test for rust-lang/rust-clippy#12181y21-0/+24
2024-03-14[`unconditional_recursion`]: compare by types instead of `DefId`sy21-39/+82
2024-03-14fix: ICE when array index exceeds usizegranddaifuku-0/+6
2024-03-14Added msrv to threadlocal initializerQuinn Sinclair-2/+18
2024-03-14Fixed FP for `thread_local_initializer_can_be_made_const` for `os_local`Quinn Sinclair-21/+71
2024-01-31Rollup merge of #120490 - nnethercote:Diagnostic-hashing, r=estebankNadrieril-2/+15
2024-01-31Auto merge of #120346 - petrochenkov:ownodes, r=oli-obkbors-5/+3
2024-01-31Don't hash lints differently to non-lints.Nicholas Nethercote-2/+15
2024-01-30Rollup merge of #120342 - oli-obk:track_errors6, r=nnethercoteGuillaume Gomez-17/+1
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-2/+2
2024-01-30hir: Add non-optional `hir_owner_nodes` for real `OwnerId`sVadim Petrochenkov-3/+1
2024-01-30hir: Simplify `hir_owner_nodes` queryVadim Petrochenkov-1/+1
2024-01-27Fix `NonZero` clippy lints.Markus Reiter-42/+64
2024-01-26Rollup merge of #120345 - flip1995:clippy-subtree-update, r=ManishearthMatthias Krüger-1000/+2840
2024-01-26Rollup merge of #120329 - nnethercote:3349-precursors, r=fee1-deadMatthias Krüger-1/+1
2024-01-26Clippy: Fix empty suggestion in from_over_intoPhilipp Krones-5/+5
2024-01-26Auto merge of #116167 - RalfJung:structural-eq, r=lcnrbors-17/+0
2024-01-25Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-u...Philipp Krones-999/+2839
2024-01-25Remove an unused error count checkOli Scherer-17/+1
2024-01-25Rename the unescaping functions.Nicholas Nethercote-1/+1
2024-01-24remove StructuralEq traitRalf Jung-17/+0
2024-01-23We don't look into static items anymore during const propOli Scherer-9/+2
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-6/+6
2024-01-23Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.Nicholas Nethercote-10/+9
2024-01-22Auto merge of #120080 - cuviper:128-align-packed, r=nikicbors-35/+46
2024-01-22Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8KiMatthias Krüger-0/+1
2024-01-21Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwUbors-23/+23
2024-01-20Rollup merge of #120000 - smoelius:fix-clippy, r=fee1-deadGuillaume Gomez-23/+15
2024-01-19Pack the u128 in LitKind::IntJosh Stone-35/+46
2024-01-18Rollup merge of #119869 - oli-obk:track_errors2, r=matthewjasperMatthias Krüger-9/+15
2024-01-18Don't forget that the lifetime on hir types is `'tcx`Oli Scherer-23/+23
2024-01-18Apply suggestions from code reviewSamuel Moelius-2/+4
2024-01-18Rollup merge of #119978 - compiler-errors:async-closure-captures, r=oli-obkMatthias Krüger-42/+82
2024-01-17Fix clippyOli Scherer-9/+15
2024-01-17Add `PatKind::Err`Lieselotte-4/+10
2024-01-16Deal with additional wrapping of async closure body in clippyMichael Goulet-42/+82
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-4/+4
2024-01-15Ensure `callee_id`s are body ownersSamuel Moelius-23/+13
2024-01-13Auto merge of #118947 - Bryanskiy:delegStep1, r=petrochenkov,lcnrbors-1/+2
2024-01-12Improve `let_underscore_lock`Nilstrieb-0/+1
2024-01-12Rollup merge of #119819 - chenyukang:yukang-fix-118183-lint, r=davidtwcoGuillaume Gomez-5/+25
2024-01-12Delegation implementation: step 1Bryanskiy-1/+2
2024-01-12check rust lints when an unknown lint is detectedyukang-5/+25
2024-01-11Auto merge of #119864 - matthiaskrgr:rollup-mc2qz13, r=matthiaskrgrbors-1/+1
2024-01-11Merge commit '26ac6aab023393c94edf42f38f6ad31196009643'Philipp Krones-819/+5166
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Rustdoc and Clippy stop misusing Key for Ty -> (adt) DefIdMichael Goulet-19/+9
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2024-01-06Auto merge of #119531 - petrochenkov:cmpctxt, r=cjgillotbors-4/+4