summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2020-12-10Fix exhaustiveness in case a byte string literal is used at slice typeoli-8/+36
2020-11-09Rollup merge of #78748 - fanzier:tuple-assignment, r=petrochenkovDylan DPC-0/+1
2020-11-07Implement destructuring assignment for tuplesFabian Zaiser-0/+1
2020-11-07Rollup merge of #78167 - Nadrieril:fix-76836_, r=varkorYuki Okushi-34/+93
2020-11-05Emit lints in the order in which they occur in the file.Nadrieril-4/+5
2020-11-05Fix unreachable sub-branch detectionNadrieril-35/+93
2020-11-05Fix even more URLsGuillaume Gomez-2/+2
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-7/+7
2020-11-01Auto merge of #78553 - Nadrieril:fix-78549, r=varkorbors-32/+55
2020-11-01The need for `Single` to cover `Unlistable` was a hackNadrieril-18/+13
2020-11-01Fix #78549Nadrieril-16/+44
2020-10-30Fix even more clippy warningsJoshua Nelson-25/+11
2020-10-28Apply suggestions from code reviewNadrieril-23/+20
2020-10-27Simplify slice splitting a bitNadrieril-41/+28
2020-10-27Deduplicate work between splitting and subtractionNadrieril-216/+87
2020-10-27Be honest about being able to list constructorsNadrieril-33/+41
2020-10-27Simplify specialize_constructorNadrieril-175/+13
2020-10-27Unify the paths through `is_useful`Nadrieril-103/+53
2020-10-27Recompute `MissingConstructors` when neededNadrieril-39/+56
2020-10-27Pass more things through `PatCtxt`Nadrieril-128/+75
2020-10-27Let MissingConstructors handle the subtleties of missing constructorsNadrieril-89/+72
2020-10-27Cache head constructor in PatStackNadrieril-68/+62
2020-10-27Unify the two kinds of specialization by adding a Wildcard ctorNadrieril-97/+80
2020-10-27Inline `specialize_one_pattern`Nadrieril-51/+39
2020-10-27Factor out the two specialization stepsNadrieril-80/+107
2020-10-27Clarify specialization into two stepsNadrieril-56/+48
2020-10-27Use pat_constructor to simplify specialize_one_patternNadrieril-105/+71
2020-10-27Split `split_grouped_constructor` into smaller functionsNadrieril-329/+345
2020-10-24Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkorJonas Schievink-345/+126
2020-10-21Clean up and improve some docsCamelid-8/+32
2020-10-21Explain the `Opaque` special case in specializationNadrieril-1/+18
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