about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2024-02-08Rollup merge of #120214 - Nadrieril:fix-120210, r=pnkfelixMatthias Krüger-166/+221
2024-02-07Prefer "0..MAX not covered" to "_ not covered"Nadrieril-29/+29
2024-02-07Add testsNadrieril-32/+176
2024-02-07Update testsr0cky-1/+11
2024-02-06Rollup merge of #120423 - RalfJung:indirect-structural-match, r=petrochenkovMatthias Krüger-8/+114
2024-02-06Rollup merge of #120597 - fmease:sugg-on-js-style-spread-op-in-pat, r=estebankMatthias Krüger-6/+71
2024-02-05update the tracking issue for structural match violationsRalf Jung-17/+17
2024-02-05show indirect_structural_match and pointer_structural_match in future compat ...Ralf Jung-0/+106
2024-02-05Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillotMatthias Krüger-22/+19
2024-02-04Suggest `[tail @ ..]` on `[..tail]` and `[...tail]` where `tail` is unresolvedLeón Orell Valerian Liehr-6/+71
2024-02-01`#![feature(inline_const_pat)]` is no longer incompleteMatthew Jasper-5/+4
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-22/+19
2024-01-26Classify closure arguments in refutable pattern in argument errorDeadbeef-2/+2
2024-01-26Rollup merge of #118803 - Nadrieril:min-exhaustive-patterns, r=compiler-errorsMatthias Krüger-139/+773
2024-01-25Put new bindings first in refutable cases tooNadrieril-163/+183
2024-01-25Add testsNadrieril-6/+41
2024-01-25Implement feature gate logicNadrieril-139/+773
2024-01-24remove StructuralEq traitRalf Jung-125/+105
2024-01-18Add testsNadrieril-90/+0
2024-01-15Auto merge of #119610 - Nadrieril:never_pattern_bindings, r=compiler-errorsbors-73/+13
2024-01-13Bless testsGeorge-lewis-0/+5
2024-01-11Only lint ranges that really overlapNadrieril-25/+19
2024-01-10Add test case for #119778Nadrieril-0/+48
2024-01-09Check bindings around never patternsNadrieril-19/+14
2024-01-09Add testsNadrieril-56/+1
2024-01-07Abort analysis on type errorNadrieril-0/+43
2024-01-05Rollup merge of #119554 - matthewjasper:remove-guard-distinction, r=compiler-...Matthias Krüger-2/+2
2024-01-05Remove `hir::Guard`Matthew Jasper-2/+2
2024-01-05Stabilize THIR unsafeckMatthew Jasper-8/+10
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-30/+14
2023-12-29add test for #117626bohan-0/+21
2023-12-24Auto merge of #118796 - Nadrieril:fix-exponential-id-match-2, r=cjgillotbors-0/+72
2023-12-23Reveal empty opaques in depthNadrieril-14/+41
2023-12-23Improve performance on wide matchesNadrieril-0/+72
2023-12-20Reveal opaque types in exhaustiveness checkingNadrieril-9/+39
2023-12-20Add testsNadrieril-0/+217
2023-12-09Don't warn an empty pattern unreachable if we're not sure the data is validNadrieril-597/+87
2023-12-09Test empty types betterNadrieril-489/+2595
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-15/+15
2023-12-04Remove the `precise_pointer_size_matching` feature gateNadrieril-63/+24
2023-12-03Disallow arm bodies on never patternsNadrieril-14/+14
2023-12-02Add testsNadrieril-1/+1
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-0/+150
2023-11-29Add `never_patterns` feature gateNadrieril-0/+150
2023-11-27Suggest swapping the order of `ref` and `box`Hirochika Matsumoto-0/+36
2023-11-26Auto merge of #117611 - Nadrieril:linear-pass-take-4, r=cjgillotbors-91/+120
2023-11-24Show number in error message even for one errorNilstrieb-52/+52
2023-11-22Fully rework the algorithm and its explanationNadrieril-27/+34
2023-11-22Keep rows with guards in the matrixNadrieril-14/+14
2023-11-22Add some testsNadrieril-55/+77