about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2021-01-24Reimplement `Usefulness::merge` in terms of a binopNadrieril-39/+24
2021-01-24Don't expose `Usefulness` in the apiNadrieril-9/+22
2021-01-24Improve the debugging experienceNadrieril-25/+30
2021-01-24Reduce log level used by tracing instrumentation from info to debugTomasz Miąsko-1/+1
2021-01-21Add loop head span to hirEsteban Küber-3/+1
2021-01-18Use ty::{IntTy,UintTy,FloatTy} in rustcLeSeulArtichaut-15/+12
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2021-01-14Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasperbors-1/+11
2021-01-13Rollup merge of #80232 - bugadani:roundtrip, r=estebankDylan DPC-2/+1
2021-01-07Reintroduce hir::ExprKind::IfCaio-1/+11
2021-01-03Add note to non-exhaustive match on reference to emptyDaniel Noom-0/+5
2020-12-24remove redundant clones (clippy::redundant_clone)Matthias Krüger-2/+2
2020-12-22Fix a commentNadrieril-4/+4
2020-12-22Apply suggestions from code reviewNadrieril-14/+15
2020-12-22Simplify field filteringNadrieril-64/+56
2020-12-22Make the special "missing patterns" constructor realNadrieril-64/+57
2020-12-22Completely rework the explanation of the algorithmNadrieril-285/+324
2020-12-22Pass `Matrix` explicitly instead of via `PatCtxt`Nadrieril-27/+48
2020-12-22Inline the constructor-specific `split` functionsNadrieril-34/+19
2020-12-22Inline `all_constructors`Nadrieril-121/+115
2020-12-22Rebrand `MissingConstructors` as `SplitWildcard`Nadrieril-49/+67
2020-12-22Factor out `SplitVarLenSlice` used for slice splittingNadrieril-105/+117
2020-12-22Run the annoying lint separatelyNadrieril-54/+43
2020-12-22Factor out `SplitIntRange` used for integer range splittingNadrieril-89/+110
2020-12-22Auto merge of #78242 - Nadrieril:rename-overlapping_endpoints-lint, r=varkorbors-9/+9
2020-12-20Remove redundant def_id lookupsDániel Buga-2/+1
2020-12-19Auto merge of #80104 - Nadrieril:usefulness-merging, r=varkorbors-114/+185
2020-12-19Tweak diagnosticsNadrieril-3/+2
2020-12-18Unify the two kinds of usefulness mergingNadrieril-63/+35
2020-12-18Merge unreachable subpatterns correctlyNadrieril-3/+28
2020-12-18Keep all witnesses of non-exhaustivenessNadrieril-27/+37
2020-12-18Rewrite usefulness merging using `SpanSet`Nadrieril-65/+114
2020-12-18Log the output of `is_useful` in the or-pattern case tooNadrieril-25/+31
2020-12-18Factor out or-pattern usefulness mergingNadrieril-72/+81
2020-12-17Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasperYuki Okushi-4/+36
2020-12-12Auto merge of #79553 - sexxi-goose:mir_min_cap_writeback, r=nikomatsakisbors-16/+44
2020-12-09Use precise places when lowering Closures in THIRAman Arora-16/+44
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-1/+1
2020-12-06Implement lowering of if-let guards to MIRLeSeulArtichaut-1/+32
2020-12-06Introduce if-let guards in the THIRLeSeulArtichaut-4/+5
2020-12-04Inline `is_covered_by`Nadrieril-0/+2
2020-11-29Improve error messageNadrieril-3/+3
2020-11-29Be consistent about linting singletonsNadrieril-1/+1
2020-11-29Rename the `overlapping_patterns` lint to `overlapping_range_endpoints`Nadrieril-6/+7
2020-11-28Don't store `ty` and `span` in `IntRange`Nadrieril-66/+56
2020-11-28Correctly detect `usize`/`isize` range overlapsNadrieril-29/+12
2020-11-27Rename `_match` to `usefulness`Nadrieril-4/+4
2020-11-27Rename `pat_constructor` to `Constructor::from_pat`Nadrieril-63/+63
2020-11-27Move the definitions of the two `Ctxt`s to the topNadrieril-47/+46
2020-11-27Extract everything related to pattern deconstruction to a new moduleNadrieril-1387/+1413