about summary refs log tree commit diff
path: root/tests/ui/match
AgeCommit message (Expand)AuthorLines
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
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