summary refs log tree commit diff
path: root/src/test/ui/or-patterns
AgeCommit message (Expand)AuthorLines
2022-08-22Rollup merge of #98200 - ouz-a:issue-98177, r=oli-obkDylan DPC-0/+95
2022-08-17Reenable early feature-gates as future-compat warningsChristopher Durham-7/+22
2022-08-17add new test and combine old onesouz-a-47/+65
2022-07-01Shorten def_span for more items.Camille GILLOT-8/+2
2022-06-17expand inner `or` patternouz-a-0/+77
2022-05-06Resolve vars in note_type_errJack Huey-5/+5
2022-04-30When encountering a binding that could be a const or unit variant, suggest th...Esteban Kuber-16/+16
2022-03-27Point (again) to more expressions with their type, even if not fully resolvedEsteban Kuber-4/+6
2022-03-08Do not suggest `let_else` if no bindings would be introducedEsteban Kuber-4/+0
2022-03-08Suggest `if let`/`let_else` for refutable pat in `let`Esteban Kuber-3/+7
2022-03-08Change wording of suggestion to add missing `match` armEsteban Kuber-4/+4
2022-03-08When finding a match expr with a single arm that requires more, suggest itEsteban Kuber-4/+20
2022-03-08When encountering a match expr with no arms, suggest itEsteban Kuber-4/+4
2022-03-03Cleanup feature gates.Camille GILLOT-16/+12
2021-12-14Make TyS::is_suggestable more structualMichael Goulet-6/+4
2021-10-05Consider unfulfilled obligations in binop errorsEsteban Kuber-1/+16
2021-08-11Modify structured suggestion outputEsteban Küber-1/+1
2021-05-12Show macro name in 'this error originates in macro' messageAaron Hill-1/+1
2021-04-28fix testmark-0/+1
2021-04-27unignore a couple of testsmark-4/+0
2021-03-19update testsmark-479/+136
2021-03-05use pat<no_top_alt> for patterns in let bindingsmark-275/+457
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-211/+73
2021-02-07Auto merge of #80632 - Nadrieril:fix-80501, r=varkorbors-12/+67
2021-02-06path trimming: ignore type aliasesDan Aloni-1/+1
2021-02-03move test to be with the othersmark-0/+44
2021-01-24Identify subpatterns by the path to them instead of spansNadrieril-3/+14
2021-01-24Factor or-pattern expansionNadrieril-13/+22
2021-01-24Add testsNadrieril-10/+45
2020-12-20Auto merge of #80100 - mark-i-m:pattORns-2, r=petrochenkovbors-43/+64
2020-12-19implement edition-specific :pat behavior for 2015/18mark-43/+64
2020-12-18Merge unreachable subpatterns correctlyNadrieril-16/+8
2020-12-18Rewrite usefulness merging using `SpanSet`Nadrieril-2/+8
2020-12-18Add testsNadrieril-5/+48
2020-11-05Emit lints in the order in which they occur in the file.Nadrieril-4/+4
2020-11-05Fix unreachable sub-branch detectionNadrieril-6/+12
2020-11-05Add testNadrieril-4/+11
2020-09-02pretty: trim paths of unique symbolsDan Aloni-15/+15
2020-07-04Fix #71977Nadrieril-12/+51
2020-06-28Update testsDylan MacKenzie-63/+1
2020-06-26Show the values and computation that would overflow a const evaluation or pro...Oliver Scherer-13/+13
2020-06-13Prefer the associated consts for pattern matching errorLzu Tao-13/+13
2020-06-04resolve: Sort E0408 errors by Symbol strTom Eccles-13/+13
2020-05-10Auto merge of #71557 - matthewjasper:mir-asymmetric-or-pattern, r=oli-obkbors-0/+51
2020-04-29Bless testsDylan MacKenzie-17/+2
2020-04-19Fix ICE for broken or-pattern in async fnMatthew Jasper-0/+51
2020-03-27Rollup merge of #70457 - Centril:non-exhaustive-scrutinee-type, r=estebankMazdak Farrokhzad-0/+5
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+5
2020-03-26Add tests based on issue #70372 commentsAmin Arria-0/+22
2020-03-10Matrix::push: recursively expand or-patternsMazdak Farrokhzad-0/+43