about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-804/+66
2021-05-19Adapt the THIR visitor to the vec-stored THIRLeSeulArtichaut-81/+73
2021-05-19Store THIR in `IndexVec`s instead of an `Arena`LeSeulArtichaut-478/+426
2021-05-14Auto merge of #85233 - FabianWolff:issue-85227, r=petrochenkovbors-1/+10
2021-05-14Auto merge of #85195 - Mark-Simulacrum:variant-by-idx, r=petrochenkovbors-10/+7
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-05-11Add helper for switching safety contextsLeSeulArtichaut-26/+34
2021-05-11[WIP] Create a `Visitor` for the THIRLeSeulArtichaut-0/+179
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-3/+8
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-3/+8
2021-03-29Convert a closure into a methodOli Scherer-12/+14
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-8/+8
2021-03-17Auto merge of #83188 - petrochenkov:field, r=lcnrbors-1/+4
2021-03-16Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasperbors-2/+2
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-1/+4
2021-03-15Fix error after rebaseRoxane-15/+6
2021-03-15Add comments with examples and testsRoxane-14/+14
2021-03-14Only borrow place for matching under specific conditionsRoxane-26/+17
2021-03-14Use the correct FakeReadCauseRoxane-69/+38
2021-03-14Introduce new fake readsRoxane-1/+78
2021-03-14Rollup merge of #82789 - csmoe:issue-82772, r=estebankYuki Okushi-1/+3
2021-03-12Use the explicit error constant instead of fake dummiesOli Scherer-2/+2
2021-03-12Rollup merge of #83018 - oli-obk:float_check, r=davidtwcoYuki Okushi-2/+23
2021-03-11Make THIR data structures publicLeSeulArtichaut-59/+60
2021-03-12fix: check before index into generated patternscsmoe-1/+3
2021-03-11Reintroduce accidentally deleted assertions.Oli Scherer-2/+23
2021-03-09Prevent stack overflow when building THIRLeSeulArtichaut-1/+3
2021-03-09Remove useless references/dereferencesLeSeulArtichaut-11/+11
2021-03-09Make arena allocation for the THIR workLeSeulArtichaut-336/+478
2021-03-09Remove `Clone` impl for `thir::Expr`LeSeulArtichaut-10/+10
2021-03-09Pull `thir::Cx` out of the MIR `Builder`LeSeulArtichaut-144/+16
2021-03-09[WIP] Eagerly construct bodies of THIRLeSeulArtichaut-1179/+1054
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-1/+1
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-4/+4
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-28Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakisYuki Okushi-15/+12
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