summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
2020-09-26Speed up `IntRange::from_pat`Dylan MacKenzie-3/+27
2020-09-26Auto merge of #70743 - oli-obk:eager_const_to_pat_conversion, r=eddybbors-110/+340
2020-09-24Auto merge of #76918 - ishitatsuyuki:match-fastpath, r=oli-obkbors-22/+165
2020-09-24Document `FallbackToConstRef` and make sure we don't accidentally use itOliver Scherer-4/+19
2020-09-24Deduplicate the "needs partialeq derive" message creation sitesOliver Scherer-21/+13
2020-09-24Use correct type in diagnostics againOliver Scherer-48/+45
2020-09-23Make sure we keep emitting a hard errorOliver Scherer-18/+36
2020-09-23Make sure we report a future incompat error in all casesOliver Scherer-1/+19
2020-09-23Name function correctlyOliver Scherer-3/+3
2020-09-23Make sure we don't hide errors just because a lint has been emittedOliver Scherer-7/+20
2020-09-23Deduplicate errors in const to pat conversionOliver Scherer-5/+28
2020-09-23Talk about unpredictable instead of "not deterministic"Oliver Scherer-2/+2
2020-09-23Remove the "lift constant to reference" logicOliver Scherer-12/+27
2020-09-22Add debug assertions against slow path reference resultsIshi Tatsuyuki-10/+37
2020-09-21Improve code and documentation clarityIshi Tatsuyuki-41/+75
2020-09-20Use precise errors during const to pat conversion instead of a catch-all on t...Oliver Scherer-12/+73
2020-09-20Lint on function pointers used in patternsOliver Scherer-1/+18
2020-09-20Split check for `PartialEq` impl into a methodOliver Scherer-28/+35
2020-09-20Implement destructuring for all aggregates and for referencesOliver Scherer-26/+84
2020-09-20Merge tuple and struct pattern generation.Oliver Scherer-5/+1
2020-09-20array patternBastian Kauschke-4/+4
2020-09-20use `array_windows` instead of `windows` in the compilerBastian Kauschke-2/+2
2020-09-19Add fast path for match checkingishitatsuyuki-13/+95
2020-09-04Change ty.kind to a methodLeSeulArtichaut-66/+58
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+3
2020-08-30mv compiler to compiler/mark-0/+4914