about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2020-10-05Auto merge of #77466 - Aaron1011:reland-drop-tree, r=matthewjasperbors-726/+768
2020-10-04HACK: Overwrite the MIR's source with the correct const paramDylan MacKenzie-1/+7
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-2/+9
2020-10-04Apply suggestions from reviewAaron Hill-2/+2
2020-10-04Fix broken linkAaron Hill-1/+1
2020-10-04Fix rebase falloutAaron Hill-3/+3
2020-10-04Address review commentsMatthew Jasper-5/+5
2020-10-04Add some more commentsMatthew Jasper-7/+22
2020-10-04Defer creating drop trees in MIR lowering until leaving that scopeMatthew Jasper-726/+753
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-46/+28
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-21fix typo in docs and commentsyuk1ty-1/+1
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-20Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnrRalf Jung-3/+2
2020-09-20Implement destructuring for all aggregates and for referencesOliver Scherer-27/+118
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-3/+3
2020-09-19Add fast path for match checkingishitatsuyuki-13/+95
2020-09-19Rollup merge of #76757 - matthiaskrgr:clippy_try_into, r=lcnrRalf Jung-1/+1
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-3/+2
2020-09-15don't convert types to the same type with try_into (clippy::useless_conversion)Matthias Krüger-1/+1
2020-09-10Note when a a move/borrow error is caused by a deref coercionAaron Hill-7/+22
2020-09-10Auto merge of #75573 - Aaron1011:feature/const-mutation-lint, r=oli-obkbors-3/+21
2020-09-07Add CONST_ITEM_MUTATION lintAaron Hill-3/+21
2020-09-07Rollup merge of #76318 - scottmcm:one-control-flow, r=ecstatic-morseDylan DPC-3/+4
2020-09-04Change ty.kind to a methodLeSeulArtichaut-92/+86
2020-09-04Use ops::ControlFlow in graph::iterateScott McMurray-3/+4
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+3
2020-08-30mv compiler to compiler/mark-0/+15282