about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
2021-07-18Revert "structural_match: non-structural-match ty closures"Santiago Pastorino-3/+0
2021-07-17Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obkbors-1/+1
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-15/+2
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-15/+2
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-1/+1
2021-07-15Remove refs from pat slicesCameron Steffen-4/+4
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-1/+1
2021-07-11Fix ICE with unsized type in const patternFabian Wolff-11/+23
2021-07-05Fix double warning about illegal floating-point literal patternFabian Wolff-6/+8
2021-06-19Assert `is_associated_const` when resolvingYuki Okushi-3/+4
2021-06-19Refactor `PatternError` structureYuki Okushi-5/+4
2021-06-04removed unneeded brackets on importmarcusdunn-1/+1
2021-06-04removed conditional check on bindings_after_at and resulting dead codemarcusdunn-48/+1
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-1/+1
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-371/+54
2021-05-14Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkovbors-1/+10
2021-05-12Improve error message for non-exhaustive matches on non-exhaustive enumsFabian Wolff-1/+10
2021-05-11Store VariantIdx to distinguish enum variantsMark Rousskov-10/+7
2021-03-29Convert a closure into a methodOli Scherer-12/+14
2021-03-14Rollup merge of #82789 - csmoe:issue-82772, r=estebankYuki Okushi-1/+3
2021-03-11Make THIR data structures publicLeSeulArtichaut-19/+19
2021-03-12fix: check before index into generated patternscsmoe-1/+3
2021-02-22Auto merge of #81978 - tmiasko:head-ctor, r=Mark-Simulacrumbors-0/+1
2021-02-18Add explanations and suggestions to `irrefutable_let_patterns` lintCamelid-9/+26
2021-02-18Rollup merge of #82215 - TaKO8Ki:replace-if-let-while-let, r=varkorDylan DPC-3/+3
2021-02-18Inline hot part of PatStack::head_ctorTomasz Miąsko-0/+1
2021-02-17replace if-let and while-let with `if let` and `while let`Takayuki Maeda-3/+3
2021-02-15Use !Sync std::lazy::OnceCell in usefulness checkingTomasz Miąsko-1/+1
2021-02-13Use debug log level for developer oriented logsTomasz Miąsko-1/+4
2021-02-11Auto merge of #81350 - tmiasko:instrument-debug, r=lcnrbors-1/+1
2021-02-09Rename HIR UnOp variantsÖmer Sinan Ağacan-1/+1
2021-02-07Auto merge of #80632 - Nadrieril:fix-80501, r=varkorbors-211/+378
2021-02-01Make `SubPatSet` clearer by flipping its meaningNadrieril-94/+119
2021-01-24Specialized `Usefulness` variants are redundantNadrieril-39/+19
2021-01-24Identify subpatterns by the path to them instead of spansNadrieril-108/+235
2021-01-24Factor or-pattern expansionNadrieril-24/+36
2021-01-24Split `Usefulness::NotUseful` into twoNadrieril-32/+52
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-18Use ty::{IntTy,UintTy,FloatTy} in rustcLeSeulArtichaut-11/+8
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2021-01-07Reintroduce hir::ExprKind::IfCaio-1/+1
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