about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2019-11-15Remove fishy conditionNadrieril-24/+2
2019-11-15Malformed range patterns can't happen thanks to E0030Nadrieril-8/+6
2019-11-15Remove unnecessary data from ConstantValue/ConstantRangeNadrieril-38/+14
2019-11-15Store Const directly in ConstantRangeNadrieril-11/+11
2019-11-15Make should_treat_range_exhaustively a methodNadrieril-5/+4
2019-11-15Inline now-trivial IntRange::from_ctorNadrieril-56/+28
2019-11-15Factor out getting the boundaries of an `IntRange`Nadrieril-9/+13
2019-11-15Eagerly convert ranges to IntRangeNadrieril-58/+63
2019-11-15Add `IntRange::to_pat` and use it instead of custom `display()`Nadrieril-21/+10
2019-11-15formattingNadrieril-12/+13
2019-11-15Introduce IntRange constructorNadrieril-8/+28
2019-11-15`Constructor::display` was only needed for displaying `IntRange`Nadrieril-22/+18
2019-11-15Avoid converting through Constructor when subtracting rangesNadrieril-38/+29
2019-11-15Special-case subtracting from a range if that range is not an IntRangeNadrieril-21/+36
2019-11-15Prefer IntRange::into_ctor to range_to_ctorNadrieril-47/+34
2019-11-15Move range exhaustiveness check to IntRange::intersectionNadrieril-36/+14
2019-11-15Special-case range inclusion when the range is integral but non-exhaustiveNadrieril-0/+27
2019-11-15Cleanup `constructor_covered_by_range`Nadrieril-51/+29
2019-11-15IntRange::from_pat is redundant with pat_constructorsNadrieril-29/+13
2019-11-15`pat_constructor` does not need `pcx` anymoreNadrieril-6/+5
2019-11-15Factor out range construction in `all_constructors`Nadrieril-16/+5
2019-11-15Clarify conditions for exhaustive integer range matchingNadrieril-17/+20
2019-11-15Note link between apply/specialize/arity functionsNadrieril-0/+6
2019-11-15Rollup merge of #66435 - JohnTitor:fix-spelling, r=CentrilTyler Mandry-2/+2
2019-11-15Rollup merge of #66306 - spastorino:remove-error-handled-by-miri, r=oli-obkYuki Okushi-24/+1
2019-11-15Correct `const_in_array_repeat_expressions` feature nameYuki Okushi-2/+2
2019-11-14Remove unused error_codes.rs filesGuillaume Gomez-2552/+0
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-2/+15
2019-11-14Auto merge of #66233 - cjgillot:constkind, r=oli-obkbors-46/+70
2019-11-13Change control flow error to delay span bugDylan MacKenzie-4/+20
2019-11-13Rollup merge of #66330 - Nadrieril:nonexhaustive-constructor, r=varkorYuki Okushi-182/+185
2019-11-12Auto merge of #60026 - Aaron1011:feature/miri-unwind, r=RalfJung,oli-obkbors-110/+244
2019-11-12Fix tidy.Camille GILLOT-2/+6
2019-11-12Rename in librustc_mir.Camille GILLOT-46/+66
2019-11-12Auto merge of #65608 - matthewjasper:mir-eval-order, r=pnkfelixbors-203/+474
2019-11-12Move NonExhaustive checks to the relevant match branchesNadrieril-51/+54
2019-11-12Introduce Constructor::NonExhaustiveNadrieril-57/+58
2019-11-12Match constructor first in Constructor methodsNadrieril-106/+105
2019-11-12check-consts remove cannot mutate statics in initializer of another static errorSantiago Pastorino-11/+1
2019-11-12qualify-const remove cannot mutate statics in initializer of another static e...Santiago Pastorino-13/+0
2019-11-12Auto merge of #66129 - Nadrieril:refactor-slice-pat-usefulness, r=varkorbors-252/+352
2019-11-11[mir-opt] Turn on the `ConstProp` pass by defaultWesley Wiser-14/+27
2019-11-11Evaluate borrow and struct expressions in `into`Matthew Jasper-90/+111
2019-11-11Fix soundness issue with index bounds checksMatthew Jasper-110/+361
2019-11-11Avoid a string comparison in MIR constructionMatthew Jasper-3/+2
2019-11-11UpdateAaron Hill-1/+1
2019-11-11Return Ok(false) instead of throwing when handling a diverging intrinsicAaron Hill-3/+2
2019-11-11Fix rebase falloutAaron Hill-1/+1
2019-11-11Rename toAaron Hill-3/+4
2019-11-11Fix debug assertionAaron Hill-1/+2