about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
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
2024-09-23Parser: better error messages for `@` in struct patternsPavel Grigorenko-0/+83
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril-84/+433
2024-09-11Revert warning empty patterns as unreachableNadrieril-427/+57
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-0/+19
2024-08-20Move the "matches no value" note to be a span labelNadrieril-248/+124
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-9/+52
2024-08-19Add a note with a link to explain empty typesNadrieril-17/+148
2024-08-19Reword the "unreachable pattern" explanationsNadrieril-392/+392
2024-08-13Remove a no-longer-true `assert`Nadrieril-95/+132
2024-08-10Test that 0/unknown-length arrays are nonemptyNadrieril-47/+144
2024-08-10Update testsNadrieril-451/+612
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-1/+0
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-1/+11
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-16/+0
2024-07-24Improve "covered_by_many" errorNadrieril-21/+102
2024-07-24Explain why a given pattern is considered unreachableNadrieril-122/+824
2024-07-21Explain why we require `_` for empty patternsNadrieril-0/+10