about summary refs log tree commit diff
path: root/clippy_lints/src/if_let_mutex.rs
AgeCommit message (Expand)AuthorLines
2024-11-18Handle `Option::map_or(true, …)` in `unnecessary_map_or` lint (#13653)Catherine Flores-1/+1
2024-11-17Do not trigger if_let_mutex strating from Edition 2024Alexey Semenyuk-0/+11
2024-11-16Simplify instances of `Option::map_or(true, …)` in Clippy sourcesSamuel Tardieu-1/+1
2024-10-13Check MethodCall/Call arg count earlier or at allGnomedDev-1/+1
2024-07-28inline a bunch of `if let`s into a single let chainy21-25/+21
2024-07-28[`if_let_mutex`]: make the mutex check part of the expr visitory21-17/+13
2024-07-07`if_let_mutex`: Use `for_each_expr`.Jason Newcomb-50/+15
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2023-12-01Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-syncPhilipp Krones-1/+1
2023-11-16Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyupPhilipp Krones-11/+8
2023-07-17Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyupPhilipp Krones-2/+1
2022-09-05separate the receiver from arguments in HIR under /clippyTakayuki Maeda-1/+1
2022-08-31Merge commit 'f51aade56f93175dde89177a92e3669ebd8e7592' into clippyupJason Newcomb-24/+26
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-1/+1
2022-01-16Fix Visitor::NestedFilter in ClippyCameron Steffen-14/+1
2021-12-06Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyupflip1995-0/+1
2021-10-02Make diangostic item names consistentCameron Steffen-1/+2
2021-09-08Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyupflip1995-3/+3
2021-08-19Fix clippy let expressions falloutCameron Steffen-1/+1
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-14/+13
2021-07-29Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyupflip1995-6/+5
2021-07-01Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyupflip1995-1/+1
2021-04-08Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyupflip1995-17/+11
2021-03-25Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyupflip1995-1/+3
2021-01-15Merge commit '953f024793dab92745fee9cd2c4dee6a60451771' into clippyupflip1995-1/+1
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-1/+1
2020-07-14Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyupflip1995-6/+3
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-11/+11
2020-06-26rustc_lint: only query `typeck_tables_of` when a lint needs it.Eduard-Mihai Burtescu-1/+1
2020-06-10Update Clippy for MethodCall changesAaron Hill-1/+1
2020-04-26More diagnostic itemsPhilipp Hansch-2/+2
2020-04-20factor ifs into function, add differing mutex testDevin R-10/+18
2020-04-20update span_lint_and_help call to six argsDevin R-0/+1
2020-04-20test for mutex eq, add another test caseDevin R-26/+24
2020-04-20use if chainDevin R-22/+21
2020-04-20cargo dev fmtDevin R-1/+1
2020-04-20fix map import to rustc_middleDevin R-1/+1
2020-04-20fix internal clippy warningsDevin R-2/+1
2020-04-20change visitor name to OppVisitorDevin R-3/+3
2020-04-20use Visitor api to find Mutex::lock callsDevin R-78/+94
2020-04-20add note about update-all-refs script, revert redundant pat to masterDevin R-8/+4
2020-04-20move closures to seperate fns, remove known problemsDevin R-43/+49
2020-04-20use span_lint_and_help, cargo dev fmtDevin R-40/+42
2020-04-20creating suggestionDevin R-1/+1
2020-04-20progress work on suggestion for auto fixDevin R-0/+135