summary refs log tree commit diff
path: root/src/test/ui/pattern
AgeCommit message (Expand)AuthorLines
2021-08-30Handle irrufutable or unreachable let-elseCameron Steffen-12/+21
2021-08-26Rollup merge of #88123 - camelid:tup-pat-precise-spans, r=estebankManish Goregaokar-37/+1020
2021-08-25Adjust spansNoah Lev-69/+193
2021-08-21Bless testsNoah Lev-17/+17
2021-08-21Add cross-crate tuple field count error testNoah Lev-0/+613
2021-08-21Make E0023 spans even more preciseNoah Lev-88/+58
2021-08-21Add more tuple pattern too many fields test casesNoah Lev-6/+258
2021-08-17Make spans for tuple patterns in E0023 more preciseNoah Lev-24/+48
2021-08-16Don't mark `if_let_guard` as an incomplete featureLéo Lanteri Thauvin-5/+4
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-18/+20
2021-08-11Modify structured suggestion outputEsteban Küber-26/+26
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-3/+3
2021-07-27Auto merge of #85305 - MarcusDunn:master, r=pnkfelixbors-259/+202
2021-07-18Remove impl trait bindings handling on const AST loweringSantiago Pastorino-18/+0
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-22/+0
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-22/+0
2021-07-02Improve error reporting for modifications behind `&` referencesFabian Wolff-4/+4
2021-06-19Refactor `PatternError` structureYuki Okushi-14/+46
2021-06-04updated line #'s on ui tests and removed feature flag testmarcusdunn-217/+202
2021-06-04removed more uses of feature gatemarcusdunn-2/+0
2021-06-04removed uses of feature gatemarcusdunn-40/+0
2021-05-12Show macro name in 'this error originates in macro' messageAaron Hill-1/+1
2021-05-02add suggestion for unit enum variant when matched with a paternAliénore Bouttefeux-3/+13
2021-04-12Compiler error messages: reduce assertiveness of message E0384James Addison-2/+2
2021-04-03Remove redundant `ignore-tidy-linelength` annotationsSimon Jakobi-4/+2
2021-03-22Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakisbors-14/+10
2021-03-20Move some tests to more reasonable directories - 5Caio-0/+30
2021-03-19update testsmark-14/+10
2021-03-07Account for `if (let pat = expr) {}`Esteban Küber-2/+1
2021-02-23Rollup merge of #82308 - estebank:issue-82290, r=lcnrDylan DPC-0/+27
2021-02-19Lower condition of `if` expression before it's "then" blockEsteban Küber-0/+27
2021-02-18Add explanations and suggestions to `irrefutable_let_patterns` lintCamelid-4/+26
2021-02-17replace if-let and while-let with `if let` and `while let`Takayuki Maeda-4/+4
2021-02-13Add match pattern diagnostics regression testBram van den Heuvel-0/+29
2021-02-07Auto merge of #80632 - Nadrieril:fix-80501, r=varkorbors-0/+27
2021-02-06path trimming: ignore type aliasesDan Aloni-13/+13
2021-02-03move test to be with the othersmark-44/+0
2021-01-26Account for existing `_` field pattern when suggesting `..`Esteban Küber-2/+2
2021-01-24Identify subpatterns by the path to them instead of spansNadrieril-21/+3
2021-01-24Add testsNadrieril-0/+45
2021-01-16Move some tests to more reasonable directories - 2Caio-0/+244
2021-01-12Include `..` suggestion if fields are all wildcardsCamelid-6/+16
2021-01-12Always show suggestions in their own subwindowsCamelid-20/+30
2021-01-12Add a test case with lots of whitespaceCamelid-8/+34
2021-01-12Only suggest `..` if more than one field is missingCamelid-60/+26
2021-01-12Specialize `..` help message for all fields vs. the restCamelid-13/+13
2021-01-12Suggest `Variant(..)` if all of the mentioned fields are `_`Camelid-4/+4
2021-01-12Suggest `_` and `..` if a pattern has too few fieldsCamelid-0/+179
2021-01-12Add tests for uninhabited typesNadrieril-212/+351
2021-01-12Deduplicate some tests using revisionsNadrieril-227/+74