summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2025-02-10add more pattern migration testsdianne-1/+400
2025-02-10try to suggest eliding redundant binding modifiersdianne-10/+13
2025-02-10reword default binding mode notesdianne-52/+52
2025-02-10separate labels for default binding mode spans into their own notesdianne-105/+163
2025-02-10don't include trailing open parens in labels for reference patternsdianne-1/+1
2025-02-10experimentally label the spans for default binding modesdianne-106/+105
2025-02-10highlight the whole problem subpattern when pointing out the default binding ...dianne-28/+101
2025-02-10add tests for label formattingdianne-1/+47
2025-02-10use more specific wording for subpatterns from macro expansionsdianne-1/+1
2025-02-10reword pattern migration diagnostic to make sense in all editionsdianne-88/+88
2025-02-06modify test to side-step platform-dependent stderr outputEsteban Küber-18/+27
2025-02-06Add check for missing fields in enum variant patternEsteban Küber-3/+20
2025-02-06Ensure 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
2024-12-17Improve the pattern migration 2024 migration lint's messagedianne-62/+62
2024-12-17Clarify the match ergonomics 2024 migration lint's outputdianne-150/+203
2024-12-17Rollup merge of #134368 - ehuss:edition-links, r=jieyouxuJacob Pratt-15/+15
2024-12-15Use links to edition guide for edition migrationsEric Huss-15/+15
2024-12-15Use `span_label` as it looks better when we show pattern missing binding in o...Esteban Küber-17/+5
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-0/+52
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-2/+22
2024-12-07Address review commentsNadrieril-0/+20
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-9/+17
2024-12-04Specify type kind of constant that can't be used in patternsEsteban Küber-6/+6
2024-12-04Tweak output of some const pattern errorsEsteban Küber-4/+10
2024-12-04Tweak ptr in pattern errorEsteban Küber-16/+32
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+33
2024-11-25`add_move_error_suggestions`: use a HIR visitor rather than `SourceMap`dianne-0/+10
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-2/+0
2024-11-24parse guard patternsNadrieril-2/+2
2024-11-23Auto merge of #131859 - chriskrycho:update-trpl, r=onur-ozkanbors-25/+25
2024-11-23Update tests for new TRPL chapter orderChris Krycho-25/+25
2024-11-23Rollup merge of #133286 - jieyouxu:bug-ourselves, r=compiler-errors许杰友 Jieyou Xu (Joe)-0/+36
2024-11-22Stabilize the 2024 editionEric Huss-20/+16
2024-11-21Re-delay a resolve `bug`Jieyou Xu-0/+36
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-0/+84
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-0/+84
2024-11-16Also check if let chains with multiple lets in these two testsest31-5/+15
2024-11-08Get rid of check_opaque_type_well_formedMichael Goulet-28/+28
2024-10-24add third help hint to diagnostic error E0027Duncan Proctor-0/+24
2024-10-16Rollup merge of #131381 - Nadrieril:min-match-ergonomics, r=pnkfelixMatthias Krüger-211/+699
2024-10-08Change error messageNadrieril-53/+53
2024-10-08Stabilize `min_match_ergonomics_2024`Nadrieril-36/+101
2024-10-08Also disallow `ref`/`ref mut` overriding the binding modeNadrieril-18/+54
2024-10-08Error on resetted binding mode in edition 2024Nadrieril-23/+225
2024-10-07Prepare testsNadrieril-71/+256
2024-09-24Move existing rfc3627 tests to a dedicated folderNadrieril-21/+21