about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2020-10-18Add commentNadrieril-0/+3
2020-10-18The only remaining constant patterns are opaqueNadrieril-28/+48
2020-10-18Treat string literals separately from other constantsNadrieril-3/+9
2020-10-18Handle ranges of float consistentlyNadrieril-57/+48
2020-10-18Fix commentNadrieril-0/+1
2020-10-18Treat booleans as integers with valid range 0..=1Oliver Scherer-4/+3
2020-10-18A ConstantValue constructor with a slice pattern is an errorNadrieril-1/+0
2020-10-18Destructure byte slices and remove all the workaroundsOliver Scherer-243/+9
2020-10-18Destructure byte array constants to array patterns instead of keeping them op...Oliver Scherer-32/+11
2020-10-16Lower inline const down to MIRSantiago Pastorino-0/+14
2020-10-16Rollup merge of #76119 - Amjad50:stabilizing-move_ref_pattern, r=nikomatsakisDylan DPC-66/+4
2020-10-13Replace absolute paths with relative onesest31-6/+6
2020-10-04Remove extra indirection in LitKind::ByteStrRobin Schoonover-1/+1
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-15Stabilize move_ref_patternAmjad Alsharafi-66/+4
2020-09-10Note when a a move/borrow error is caused by a deref coercionAaron Hill-7/+22
2020-09-07Add CONST_ITEM_MUTATION lintAaron Hill-2/+17
2020-09-04Change ty.kind to a methodLeSeulArtichaut-77/+71
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+3
2020-08-30mv compiler to compiler/mark-0/+6984