about summary refs log tree commit diff
path: root/tests/ui/match
AgeCommit message (Expand)AuthorLines
2025-01-23tests: use `needs-subprocess` instead of `ignore-{wasm32,emscripten,sgx}`许杰友 Jieyou Xu (Joe)-5/+5
2025-01-08move the experimental match ergonomics tests to be with the other rfc 3627 testsdianne-1034/+0
2025-01-07make experimental pattern typing features mutually exclusivedianne-180/+11
2024-12-31Rollup merge of #133486 - dianne:fix-move-error-suggestion, r=estebankTrevor Gross-3/+4
2024-12-12Filter empty lines, comments and delimiters from previous to last multiline s...Esteban Küber-6/+3
2024-12-12Tweak multispan renderingEsteban Küber-2/+1
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-1/+3
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-0/+3
2024-12-04Reword message for non-structural type constant in patternEsteban Küber-2/+2
2024-12-04Specify type kind of constant that can't be used in patternsEsteban Küber-2/+2
2024-12-04Tweak output of some const pattern errorsEsteban Küber-1/+1
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+6
2024-11-25`add_move_error_suggestions`: use a HIR visitor rather than `SourceMap`dianne-3/+4
2024-11-23Update tests for new TRPL chapter orderChris Krycho-2/+2
2024-11-22Stabilize the 2024 editionEric Huss-74/+68
2024-11-17Point at const when intended binding fall-through pattern is a constEsteban Küber-0/+37
2024-07-05Match ergonomics 2024: test type inferenceJules Bertholet-9/+87
2024-07-05Match ergonomics 2024: `&` matches `&mut` on old editionsJules Bertholet-0/+15
2024-07-05Rename edition 2021 fail testJules Bertholet-10/+10
2024-06-27Implement TC's match ergonomics 2024 proposalJules Bertholet-44/+392
2024-06-23Replace `f16` and `f128` pattern matching stubs with real implementationsTrevor Gross-1/+44
2024-06-06Rollup merge of #125168 - Jules-Bertholet:match-ergonomics-2024-align-with-rf...Matthias Krüger-137/+151
2024-05-20hir pretty: fix block indentNilstrieb-7/+7
2024-05-15Gate implicit mutable by-reference bindings behind `mut ref`Jules Bertholet-2/+33
2024-05-15`&mut` no longer peels off `&`Jules Bertholet-62/+119
2024-05-15Remove `ref_pat_everywhere`Jules Bertholet-74/+0
2024-05-10Comments and fixesJules Bertholet-42/+108
2024-05-10Fix spans when macros are involvedJules Bertholet-4/+3
2024-05-10Various fixes:Jules Bertholet-24/+41
2024-05-10Match ergonomics 2024: let `&` patterns eat `&mut`Jules Bertholet-69/+115
2024-05-02Stabilize exclusive_rangeRoss Smyth-17/+14
2024-04-29Change wordingest31-1/+1
2024-04-28Add a note to the ArbitraryExpressionInPattern errorest31-0/+2
2024-04-15Ensure inherited reference is never set to `&mut` behind an `&`Jules Bertholet-23/+59
2024-04-15Support `let &mut x = &&mut 0;`Jules Bertholet-3/+44
2024-04-15Properly downgrade inherited mutabilityJules Bertholet-2/+72
2024-04-15Match ergonomics 2024: Implement eat-one-layerJules Bertholet-0/+400
2024-04-05Rollup merge of #123311 - Jules-Bertholet:andpat-everywhere, r=NadrierilGuillaume Gomez-0/+78
2024-04-02Fix suggestions for match non-exhaustivenessMichael Goulet-1/+1
2024-04-02Don't ICE for postfix match after asMichael Goulet-0/+35
2024-04-02Address review commentsJules Bertholet-68/+27
2024-03-30Implement "&<pat> everywhere"Jules Bertholet-0/+119
2024-03-26Don't check match scrutinee of postfix match for unused parensMichael Goulet-0/+8
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-0/+142
2024-03-09Allow lint where we don't careNadrieril-0/+1
2024-03-05Add postfix-match experimental featureRoss Smyth-0/+142
2024-03-03Move testsCaio-0/+27
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-21/+4
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-46/+46
2024-02-15Remove a suggestion that is redundantMichael Goulet-5/+1