about summary refs log tree commit diff
path: root/tests/ui/match
AgeCommit message (Expand)AuthorLines
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
2024-02-15Only point out non-diverging arms for match suggestionsMichael Goulet-1/+46
2024-02-05Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillotMatthias Krüger-165/+11
2024-02-01`#![feature(inline_const_pat)]` is no longer incompleteMatthew Jasper-13/+11
2024-01-26add test checking behavior of matching on floats, and NaNs in constsRalf Jung-0/+11
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-165/+0
2023-11-27Account for `!` arm in tail `match` exprEsteban Küber-0/+37
2023-11-24Show number in error message even for one errorNilstrieb-20/+20
2023-11-17On resolve error of `[rest..]`, suggest `[rest @ ..]`Esteban Küber-0/+5
2023-11-03Tweak spans for "adt defined here" noteNadrieril-2/+2
2023-10-11Fix range overflow checkingNadrieril-28/+27
2023-10-11Add testsNadrieril-0/+144
2023-09-25rename lint; add tracking issueRalf Jung-4/+4
2023-09-24work towards rejecting consts in patterns that do not implement PartialEqRalf Jung-1/+25
2023-09-19Update to LLVM 17.0.0Nikita Popov-0/+32
2023-09-03Improve clarity of diagnostic message on non-exhaustive matchesSebastian Toh-1/+1
2023-08-28Add note when matching on nested non-exhaustive enumsSebastian Toh-1/+2
2023-08-16Auto merge of #114847 - nikic:update-llvm-12, r=cuviperbors-0/+39
2023-08-15Add test for #114691Nikita Popov-0/+39
2023-08-14Point at return type when it influences non-first `match` armEsteban Küber-0/+33
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-1/+1
2023-06-28remove FIXME and add testJames Dietz-0/+12
2023-06-15add testJames Dietz-0/+11
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-2/+2
2023-04-30Remove wrong assertion.Camille GILLOT-0/+10
2023-04-15Add some reasons why tests are ignored.Eric Huss-2/+2
2023-04-03Perform match checking on THIR.Camille GILLOT-27/+6
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-2/+2
2023-01-30Modify primary span label for E0308Esteban Küber-7/+7
2023-01-17Account for method call and indexing when looking for inner-most path in expr...Esteban Küber-0/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1848