summary refs log tree commit diff
path: root/src/test/ui/match
AgeCommit message (Expand)AuthorLines
2020-07-08Correctly mark the ending span of a match armAyaz Hafiz-0/+28
2020-06-02normalize adt fields during structural match checkBastian Kauschke-0/+23
2020-05-08Skip tests on emscriptenYuki Okushi-0/+5
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+77
2020-04-29emit err when using trait objects in patBastian Kauschke-0/+18
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+1
2020-03-12update testsMark Mansi-2/+2
2020-03-06When encountering an Item in a pat context, point at the item defEsteban Küber-0/+3
2020-02-25check_pat_path: use pattern_causeMazdak Farrokhzad-1/+3
2020-02-25enhance check_pat_lit with TopInfoMazdak Farrokhzad-0/+3
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-2/+0
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-1/+1
2020-01-24Normalise notes with the/isvarkor-1/+1
2020-01-18slice_patterns: organize some testsMazdak Farrokhzad-72/+0
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-7/+5
2020-01-09Update testsVadim Petrochenkov-3/+24
2020-01-05Add backticks to various diagnosticsvarkor-8/+8
2019-12-30MatchExpressionArmPattern: Use more generic wording.Mazdak Farrokhzad-2/+2
2019-12-30note other end-point when typeck range patsMazdak Farrokhzad-1/+3
2019-11-21Auto merge of #66389 - estebank:type-err-labels, r=petrochenkovbors-50/+19
2019-11-18Auto merge of #58281 - mark-i-m:synthesis, r=estebankbors-0/+4
2019-11-18Surround types with backticks in type errorsEsteban Küber-11/+11
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-36/+5
2019-11-18review comments: tweak prefix stringsEsteban Küber-2/+2
2019-11-18Specific labels when referring to "expected" and "found" typesEsteban Küber-14/+14
2019-11-13Tweak non-char/numeric in range pattern diagnosticYuki Okushi-14/+23
2019-10-28Improve the "try using a variant of the expected type" hint.Patryk Wychowaniec-2/+2
2019-10-28Auto merge of #65421 - estebank:variants, r=petrochenkovbors-8/+8
2019-10-27Gather together usefulness testsNadrieril-928/+0
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-8/+8
2019-10-27update testsMark Mansi-0/+4
2019-10-16Only emit overlapping patterns lint if the overlap is partialEsteban Küber-51/+9
2019-10-16Continue to emit unreachable pattern on cases caught by overlapping patternsEsteban Küber-19/+51
2019-10-16Move overlapping patterns to its own lintEsteban Küber-4/+10
2019-10-16Add check for overlapping ranges to unreachable patterns lintEsteban Küber-27/+37
2019-10-14Rollup merge of #65292 - JohnTitor:add-backticks, r=varkor,CentrilMazdak Farrokhzad-4/+4
2019-10-11Print lifetimes with backticksYuki Okushi-4/+4
2019-10-09Suggest `if let` on `let` refutable bindingEsteban Küber-0/+28
2019-09-21Do not trigger unreachable lint in async body and Use span labelsEsteban Küber-6/+3
2019-09-18Point at original span when emitting unreachable lintAaron Hill-0/+5
2019-09-11Auto merge of #64271 - Centril:non-exhaustive-peel-refs, r=estebankbors-0/+242
2019-09-09check_match: unify check_irrefutable & check_exhaustive more.Mazdak Farrokhzad-17/+43
2019-09-09check_match: refactor + improve non-exhaustive diag for default binding modes.Mazdak Farrokhzad-0/+216
2019-09-08Update tests wrt. bind_by_by_move_pattern_guards stabilization.Mazdak Farrokhzad-2/+0
2019-09-06Update ui testsvarkor-1/+1
2019-09-04Point at variant on pattern field count mismatchEsteban Küber-0/+3
2019-08-13Suggest giving return type to closures on E0282Esteban Küber-4/+1
2019-08-09Be more accurate when mentioning type of found match armsEsteban Küber-0/+41
2019-08-06pretty-pretty extremal constants!Zack M. Davis-2/+2
2019-07-30Remove 'feature(nll)' from bind_by_move_pattern_guards tests.Mazdak Farrokhzad-1/+1