about summary refs log tree commit diff
path: root/clippy_lints/src/matches
AgeCommit message (Expand)AuthorLines
2025-02-17`manual_ok_err`: blockify the replacement of an `else if …`Samuel Tardieu-2/+13
2025-02-09`let_and_return`: lint more cases in edition ≥ 2024Samuel Tardieu-4/+2
2025-02-09make [`manual_map`] ignore types that contain `dyn` (#12712)Alex Macleod-13/+11
2025-02-07Simplify `reindent_multiline()` signature (#14101)Timo-1/+1
2025-02-06Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-10/+2
2025-02-05move `expr_requires_coercion` to clippy_utils & some other adjustmentsJ-ZhengLi-71/+3
2025-02-05fix [`manual_map`] not catching type adjustmentJ-ZhengLi-11/+77
2025-02-03Simplify `reindent_multiline()` signatureSamuel Tardieu-1/+1
2025-02-03new `manual_option_as_slice` lint (#13901)Alejandra González-9/+1
2025-02-02Convert two `rustc_middle::lint` functions to `Span` methods.Nicholas Nethercote-2/+1
2025-01-29Eliminate PatKind::PathOli Scherer-37/+94
2025-01-28Merge commit '51d49c1ae2785b24ef18a46ef233fc1d91844666' into clippy-subtree-u...Philipp Krones-39/+223
2025-01-28Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-39/+223
2025-01-26new `manual_option_as_slice` lintAndre Bogus-9/+1
2025-01-22`match_bool`: fix suggestion if guard is present (#14039)llogiq-24/+27
2025-01-21fix: correct suggestion for significant_drop_in_scrutinee in expressions (#14...Timo-2/+2
2025-01-20`match_bool`: omit suggestion if guard is presentSamuel Tardieu-24/+27
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-5/+2
2025-01-19Apply `unnecessary_semicolon` to Clippy sourcesSamuel Tardieu-9/+9
2025-01-17fix: correct suggestion for significant_drop_in_scrutinee in expressionsVishruth-Thimmaiah-2/+2
2025-01-11Do not look for significant drop inside `.await` expansionSamuel Tardieu-2/+3
2025-01-10New lint: manual_ok_err (#13740)Alejandra González-0/+180
2025-01-10New lint: manual_ok_errSamuel Tardieu-0/+180
2025-01-09Merge commit '19e305bb57a7595f2a8d81f521c0dd8bf854e739' into clippy-subtree-u...Philipp Krones-9/+6
2025-01-09Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-10/+7
2025-01-08Rename PatKind::Lit to ExprOli Scherer-14/+14
2025-01-08Exhaustively handle expressions in patternsOli Scherer-21/+27
2025-01-07Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obkMatthias Krüger-3/+9
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-1/+1
2024-12-31cover guard patterns in clippy lintsMax Niederman-3/+9
2024-12-29Fix parentheses when replacing `matches!(…, None)` with `.is_none()`Samuel Tardieu-3/+5
2024-12-27remove description of known problems in `match_same_arms` that have already b...Fridtjof Stoldt-5/+0
2024-12-26Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into clippy-subtree-u...Philipp Krones-17/+38
2024-12-26Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-17/+38
2024-12-24remove known problems section from match_same_armslapla-cogito-5/+0
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+2
2024-12-15chore: use multipart_suggestions for match_same_arms (#13803)Alejandra González-12/+8
2024-12-15Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-5/+30
2024-12-14address wrong suggestions when using comparing with byte literal string in si...lapla-cogito-1/+1
2024-12-13Fix `single_match` lint being emitted when it should not (#13765)llogiq-2/+25
2024-12-13Fix `single_match` lint being emitted when it should notGuillaume Gomez-2/+25
2024-12-09chore: use multipart_suggestions for match_same_armsScott Gerring-12/+8
2024-12-02Fix needless_match FP on if-lets (#13646)Catherine Flores-2/+4
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-2/+2
2024-11-28Merge commit 'ff4a26d442bead94a4c96fb1de967374bc4fbd8e' into clippy-subtree-u...Philipp Krones-12/+6
2024-11-28Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-12/+6
2024-11-18Handle `Option::map_or(true, …)` in `unnecessary_map_or` lint (#13653)Catherine Flores-3/+2
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-1/+1
2024-11-17Don't lint CStr literals, do lint float literals in `redundant_guards` (#13698)Catherine Flores-6/+1
2024-11-17`redundant_guards`: lint float literals, don't lint cstr literalsy21-6/+1