about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2025-02-17Rename `pattern_complexity` attr as `pattern_complexity_limit`.Nicholas Nethercote-2/+2
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-16/+16
2025-02-14Consider add-prefix replacements tooMichael Goulet-36/+24
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-12/+8
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-226/+339
2025-02-07Add comment for regression #136223 on borrowck-errors.rsShunpoco-5/+7
2025-02-07Rollup merge of #136577 - dianne:simple-pat-migration-simplification, r=Nadri...Matthias Krüger-171/+813
2025-02-05add more pattern migration testsdianne-1/+400
2025-02-05try to suggest eliding redundant binding modifiersdianne-10/+13
2025-02-05reword default binding mode notesdianne-82/+82
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-1/+10
2025-02-05Add regression testOli Scherer-0/+49
2025-02-05separate labels for default binding mode spans into their own notesdianne-165/+253
2025-02-04don't include trailing open parens in labels for reference patternsdianne-1/+1
2025-02-04experimentally label the spans for default binding modesdianne-166/+165
2025-02-03highlight the whole problem subpattern when pointing out the default binding ...dianne-43/+161
2025-02-03add tests for label formattingdianne-1/+47
2025-02-03use more specific wording for subpatterns from macro expansionsdianne-1/+1
2025-02-03reword pattern migration diagnostic to make sense in all editionsdianne-160/+149
2025-01-30Rollup merge of #135434 - dianne:match-2024-for-edition-2024, r=NadrierilMatthias Krüger-303/+1832
2025-01-29Handle all `PatExpr`s in dead code analysisOli Scherer-18/+3
2025-01-29Add regression test showing we don't realize some consts are usedOli Scherer-1/+24
2025-01-27Remove all dead files inside tests/ui/León Orell Valerian Liehr-778/+0
2025-01-21add tests differing between stable and new rules (with errors on new rules)dianne-18/+155
2025-01-21organize old well-typed-edition-2024 testsdianne-85/+100
2025-01-21add a stable edition 2021 revision to pattern typing testsdianne-198/+1103
2025-01-21add more information to old testsdianne-28/+36
2025-01-21minor test cleanupdianne-59/+26
2025-01-20rename tests' revisions to allow testing multiple editionsdianne-93/+93
2025-01-20"structural" ruleset: match against the inherited ref when a reference patter...dianne-62/+61
2025-01-20"structural" ruleset: use the "classic" ruleset's diagnostic and fallback for...dianne-355/+120
2025-01-20"structural" ruleset: account for dbm mutability cap in Deref(EatInner) rulesdianne-12/+106
2025-01-20add more tests where the rulesets disagreedianne-6/+659
2025-01-20remove Rule 3 from `ref_pat_eat_one_layer_2024`dianne-31/+17
2025-01-20Auto merge of #135754 - jieyouxu:rollup-j4q1hpr, r=jieyouxubors-1/+1
2025-01-20Rollup merge of #135237 - dianne:match-2024-cleanup, r=Nadrieril许杰友 Jieyou Xu (Joe)-9/+1150
2025-01-18Emit a single privacy error for multiple fields on the same struct expressionEsteban Küber-1/+1
2025-01-12remove `tests/ui/pattern/no_ref_mut_behind_and.rs`dianne-9/+0
2025-01-12rename and comment the test for "Rule 5"-related mutability errorsdianne-7/+91
2025-01-08Rollup merge of #135222 - estebank:issue-135209, r=compiler-errorsMatthias Krüger-3/+64
2025-01-08reorganize and comment some of the experimental pattern typing testsdianne-497/+529
2025-01-08move the experimental match ergonomics tests to be with the other rfc 3627 testsdianne-0/+1034
2025-01-08Rename PatKind::Lit to ExprOli Scherer-1/+1
2025-01-08modify test to side-step platform-dependent stderr outputEsteban Küber-18/+27
2025-01-08Add check for missing fields in enum variant patternEsteban Küber-3/+20
2025-01-07Ensure that we don't try to access fields on a non-struct pattern type in dia...Esteban Küber-0/+35
2024-12-31Rollup merge of #133486 - dianne:fix-move-error-suggestion, r=estebankTrevor Gross-0/+10
2024-12-19Rollup merge of #134474 - oli-obk:push-yomnkntvzlxw, r=compiler-errors许杰友 Jieyou Xu (Joe)-11/+15
2024-12-18Forbid overwriting types in typeckOli Scherer-11/+15
2024-12-17Add the edition guide link from the match 2024 migration lint to the error as...dianne-0/+8