summary refs log tree commit diff
path: root/src/test/ui/pattern
AgeCommit message (Expand)AuthorLines
2020-12-22Add some testsNadrieril-28/+71
2020-12-22Auto merge of #78242 - Nadrieril:rename-overlapping_endpoints-lint, r=varkorbors-86/+103
2020-12-20Fix pretty printing an AST representing `&(mut ident)`Thomas Bahn-0/+19
2020-12-20Auto merge of #80100 - mark-i-m:pattORns-2, r=petrochenkovbors-0/+44
2020-12-19Tweak diagnosticsNadrieril-8/+8
2020-12-19implement edition-specific :pat behavior for 2015/18mark-0/+44
2020-12-18Keep all witnesses of non-exhaustivenessNadrieril-12/+14
2020-12-18Add testsNadrieril-14/+47
2020-11-29`overlapping_range_endpoints` does not belong in the `unused` lint groupNadrieril-37/+39
2020-11-29Improve error messageNadrieril-17/+32
2020-11-29Be consistent about linting singletonsNadrieril-19/+3
2020-11-29Rename the `overlapping_patterns` lint to `overlapping_range_endpoints`Nadrieril-33/+33
2020-11-29Add testsNadrieril-3/+19
2020-11-28Correctly detect `usize`/`isize` range overlapsNadrieril-2/+8
2020-11-21Improve integer range testsNadrieril-655/+892
2020-11-19Regroup many usefulness-related test in the same folderNadrieril-0/+686
2020-11-18Auto merge of #78995 - Nadrieril:clean-empty-match, r=varkorbors-55/+162
2020-11-17Fix exhaustiveness in case a byte string literal is used at slice typeoli-2/+2
2020-11-16Add a test for foreign empty enumsNadrieril-48/+102
2020-11-12Handle empty matches cleanlyNadrieril-36/+43
2020-11-12Add testsNadrieril-42/+88
2020-11-05Auto merge of #78638 - vn-ki:bindigs-after-at-issue-69971, r=oli-obkbors-595/+524
2020-11-03review commentsVishnunarayan K I-1/+4
2020-11-03add testsVishnunarayan K I-0/+49
2020-11-03preserve bindings order for SomeVishnunarayan K I-201/+159
2020-11-02new fix method and update testsVishnunarayan K I-57/+57
2020-11-02update some ui tests and update move ref drop semantics outputVishnunarayan K I-1/+1
2020-11-02reverse binding order in matches ...Vishnunarayan K I-708/+627
2020-11-01Fix #78549Nadrieril-0/+25
2020-10-24Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkorJonas Schievink-2/+274
2020-10-20Accidentally fixed #78071Nadrieril-24/+36
2020-10-18The only remaining constant patterns are opaqueNadrieril-9/+2
2020-10-18Destructure byte array constants to array patterns instead of keeping them op...Oliver Scherer-2/+2
2020-10-18Add some testsNadrieril-0/+267
2020-10-17Improve wording of "cannot multiply" type errorCamelid-2/+2
2020-10-16Rollup merge of #76119 - Amjad50:stabilizing-move_ref_pattern, r=nikomatsakisDylan DPC-364/+246
2020-10-01Add a regression test for issue-72565Yuki Okushi-0/+16
2020-10-01Add a regression test for issue-66501Yuki Okushi-0/+12
2020-09-26`char` not charvarkor-2/+2
2020-09-24Revert a test change to make sure it's still testing the original issueOliver Scherer-2/+2
2020-09-23Deduplicate errors in const to pat conversionOliver Scherer-8/+1
2020-09-20Use precise errors during const to pat conversion instead of a catch-all on t...Oliver Scherer-4/+12
2020-09-20Implement destructuring for all aggregates and for referencesOliver Scherer-61/+144
2020-09-15Stabilize move_ref_patternAmjad Alsharafi-364/+246
2020-09-09Rollup merge of #75984 - kornelski:typeormodule, r=matthewjasperTyler Mandry-3/+3
2020-09-02pretty: trim paths of unique symbolsDan Aloni-132/+132
2020-09-01Clarify message about unresolved useKornel-3/+3
2020-08-30mv compiler to compiler/mark-1/+1
2020-08-02Auto merge of #74963 - JohnTitor:ptn-ice, r=petrochenkovbors-0/+95
2020-07-31Rename HAIR to THIR (Typed HIR).Valentin Lazureanu-2/+2