about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/thir.rs
AgeCommit message (Expand)AuthorLines
2023-12-04Don't include destruction scopes in THIRMatthew Jasper-4/+2
2023-11-29Add `never_patterns` feature gateNadrieril-1/+10
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-11-01Auto merge of #114208 - GKFX:offset_of_enum, r=wesleywiserbors-1/+1
2023-10-31Update MIR tests for offset_ofGeorge Bateman-1/+0
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-2/+2
2023-10-31Support enum variants in offset_of!George Bateman-2/+3
2023-10-27Propagate half-open ranges through THIRNadrieril-23/+49
2023-10-27Abstract over `PatRange` boundary valueNadrieril-10/+213
2023-10-25Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naberbors-1/+21
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-16Address review commentsMatthew Jasper-2/+13
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-1/+10
2023-10-14Propagate pattern errors via a new `PatKind::Error` variantNadrieril-5/+26
2023-10-11Avoid emitting the non_exhaustive error if other errors already occurredOli Scherer-5/+8
2023-09-27Auto merge of #115887 - RalfJung:pat, r=oli-obkbors-6/+10
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-5/+5
2023-09-16thir::pattern: update some comments and error type namesRalf Jung-6/+10
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-0/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-11/+11
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-8/+8
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-4/+5
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-0/+4
2023-04-26Remove unused `TypeFoldable`/`TypeVisitable` impls.Nicholas Nethercote-1/+0
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-22Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors-1/+6
2023-04-21intern offsetof fieldsDrMeepster-2/+2
2023-04-21offset_ofDrMeepster-0/+5
2023-04-20Remove WithOptconstParam.Camille GILLOT-2/+2
2023-04-03Add Span to StmtKind::Let.Camille GILLOT-2/+54
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-5/+5
2023-03-02Make `ExprKind` the first field in `thir::Expr`Nilstrieb-3/+3
2023-02-27Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obkbors-3/+23
2023-02-26Move THIR printing to rustc_mir_build.Camille GILLOT-1/+0
2023-02-26Store the body type in THIR.Camille GILLOT-3/+23
2023-01-26output tree representation for thir-treeb-naber-0/+1
2023-01-11Migrate deconstruct_pat.rsmejrs-0/+7
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-2/+1
2022-12-18Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb-1/+1
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-2/+1
2022-10-12Use `tidy-alphabetical` in the compilerNilstrieb-1/+2
2022-10-10Fix compiler docsGuillaume Gomez-1/+1
2022-09-26remove cfg(bootstrap)Pietro Albini-4/+0
2022-09-17Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors-2/+2
2022-09-14address review againb-naber-2/+2
2022-09-13Also compute implicit params in THIR.Camille GILLOT-3/+5
2022-09-13Compute explicit MIR params on THIR.Camille GILLOT-0/+25
2022-09-07Use niche-filling optimization even when multiple variants have data.Michael Benfield-4/+8
2022-09-03Include enum path in variant suggestionMichael Goulet-11/+27