summary refs log tree commit diff
path: root/src/test/ui/pattern
AgeCommit message (Expand)AuthorLines
2020-07-05Address code reviewsYuki Okushi-10/+21
2020-07-05Explain exhaustive matching on {usize,isize} maximum valuesYuki Okushi-0/+46
2020-06-26Show the values and computation that would overflow a const evaluation or pro...Oliver Scherer-31/+31
2020-06-24Provide suggestions for some moved value errorsEsteban Küber-0/+24
2020-06-13Prefer the associated consts for pattern matching errorLzu Tao-25/+25
2020-05-29Rollup merge of #72572 - JohnTitor:add-tests, r=matthewjasperDylan DPC-0/+17
2020-05-27Add test for #71042Yuki Okushi-0/+17
2020-05-23Remove out-of-date commentNadrieril-1/+0
2020-05-23Work around type normalization issuesNadrieril-0/+23
2020-05-17We don't use tyerr anymoreNadrieril-0/+22
2020-04-11rustc: Add a warning count upon completionRoccoDev-1/+6
2020-04-02tests: remove ignore directives from tests that mention core/alloc/std spans.Eduard-Mihai Burtescu-27/+12
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+108
2020-03-25borrowck: prefer "value" over "`_`".Mazdak Farrokhzad-41/+41
2020-03-23Ignore tests on some platforms due to #53081Aaron Hill-12/+27
2020-03-22Store idents for `DefPathData` into crate metadataAaron Hill-0/+18
2020-03-17Update tests for erasing regions in typeckMatthew Jasper-2/+2
2020-03-04test(pattern): harden tests for or-patterns with slice-patternsMatthew Kuo-2/+15
2020-03-04test(pattern): add tests for combinations of pattern featuresMatthew Kuo-0/+204
2020-02-25check_pat_tuple: use pattern_causeMazdak Farrokhzad-0/+7
2020-02-25check_pat_path: use pattern_causeMazdak Farrokhzad-0/+2
2020-02-21Fix error messageLeSeulArtichaut-33/+33
2020-02-17Do not emit note suggesting to implement trait to foreign typeLeSeulArtichaut-2/+0
2020-02-11Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPCbors-5/+5
2020-02-09--bless --compare-mode=nllMatthias Prechtl-5/+5
2020-02-09Don't parse `mut a @ b` as `mut a @ mut b`Matthew Jasper-0/+75
2020-02-09Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasperbors-636/+2686
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-0/+1
2020-02-02move_ref_pattern: test captures inside closureMazdak Farrokhzad-0/+526
2020-02-02move_ref_pattern: change pov in diagnostics & add binding namesMazdak Farrokhzad-457/+457
2020-02-02move_ref_pattern: don't ICE on unreachable 2xby-move conflictsMazdak Farrokhzad-0/+15
2020-02-02move_ref_patterns: introduce testsMazdak Farrokhzad-401/+1910
2020-02-01Remove or_patterns from INCOMPLETE_FEATURESMatthew Jasper-19/+10
2020-01-24Normalise notes with the/isvarkor-18/+18
2020-01-20check_match: simplify check_armMazdak Farrokhzad-1/+3
2020-01-20check_match: unify some lowering code and fix some ICEsMazdak Farrokhzad-0/+77
2020-01-18slice_patterns: organize some testsMazdak Farrokhzad-1/+1
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-194/+172
2020-01-12Diagnostics should not end with a full stopvarkor-1/+1
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-1/+1
2020-01-09Update testsVadim Petrochenkov-16/+63
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-0/+2
2020-01-02Reformulate test descriptionLeSeulArtichaut-1/+1
2020-01-02Enhance testLeSeulArtichaut-14/+35
2020-01-02Move testLeSeulArtichaut-0/+57
2019-12-30Blame user type in pat type error.Mazdak Farrokhzad-0/+84
2019-12-30refactor and fix this-expression-has-type noteMazdak Farrokhzad-2/+2
2019-12-30Show scrutinee expr type for struct fields.Mazdak Farrokhzad-0/+23
2019-12-30MatchExpressionArmPattern: Use more generic wording.Mazdak Farrokhzad-2/+2
2019-12-24Rollup merge of #67543 - JohnTitor:regression-tests, r=CentrilMazdak Farrokhzad-0/+22