summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/thir.rs
Commit message (Expand)AuthorAgeFilesLines
* Remove unused `TypeFoldable`/`TypeVisitable` impls.Nicholas Nethercote2023-04-261-1/+0
* Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle2023-04-241-1/+1
* Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors2023-04-221-1/+6
|\
| * intern offsetof fieldsDrMeepster2023-04-211-2/+2
| * offset_ofDrMeepster2023-04-211-0/+5
* | Remove WithOptconstParam.Camille GILLOT2023-04-201-2/+2
|/
* Add Span to StmtKind::Let.Camille GILLOT2023-04-031-2/+54
* Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray2023-03-301-1/+1
* Move `mir::Field` → `abi::FieldIdx`Scott McMurray2023-03-281-5/+5
* Make `ExprKind` the first field in `thir::Expr`Nilstrieb2023-03-021-3/+3
* Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obkbors2023-02-271-3/+23
|\
| * Store the body type in THIR.Camille GILLOT2023-02-261-3/+23
* | Move THIR printing to rustc_mir_build.Camille GILLOT2023-02-261-1/+0
|/
* output tree representation for thir-treeb-naber2023-01-261-0/+1
* Migrate deconstruct_pat.rsmejrs2023-01-111-0/+7
* A few small cleanups for `newtype_index`Nilstrieb2022-12-181-2/+1
* Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb2022-12-181-1/+1
* Unreserve braced enum variants in value namespaceVadim Petrochenkov2022-11-211-2/+1
* Use `tidy-alphabetical` in the compilerNilstrieb2022-10-121-1/+2
* Fix compiler docsGuillaume Gomez2022-10-101-1/+1
* remove cfg(bootstrap)Pietro Albini2022-09-261-4/+0
* Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors2022-09-171-2/+2
|\
| * address review againb-naber2022-09-141-2/+2
* | Also compute implicit params in THIR.Camille GILLOT2022-09-131-3/+5
* | Compute explicit MIR params on THIR.Camille GILLOT2022-09-131-0/+25
|/
* Use niche-filling optimization even when multiple variants have data.Michael Benfield2022-09-071-4/+8
* Include enum path in variant suggestionMichael Goulet2022-09-031-11/+27
* Use boxed slices in `PatKind`.Nicholas Nethercote2022-09-021-10/+10
* Box `CanonicalUserTypeAnnotation::CanonicalUserType`.Nicholas Nethercote2022-09-021-2/+2
* Box `PatKind::Range`.Nicholas Nethercote2022-09-021-5/+5
* Clean up THIR patterns.Nicholas Nethercote2022-09-021-24/+24
* Add some more THIR size assertions.Nicholas Nethercote2022-08-241-0/+3
* Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote2022-08-241-2/+2
* Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote2022-08-241-7/+10
* Box `thir::ExprKind::Closure`.Nicholas Nethercote2022-08-241-8/+11
* Store blocks in `Thir`.Nicholas Nethercote2022-08-241-3/+4
* Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote2022-08-241-12/+12
* Define index types within `thir_with_elements`.Nicholas Nethercote2022-08-241-28/+13
* Avoid repeating qualifiers on `static_assert_size` calls.Nicholas Nethercote2022-08-101-4/+4
* Rollup merge of #100003 - nnethercote:improve-size-assertions, r=lqdMatthias Krüger2022-08-011-4/+11
|\
| * Improve size assertions.Nicholas Nethercote2022-08-011-4/+11
* | Use LocalDefId for closures moreCameron Steffen2022-07-301-1/+2
|/
* Rollup merge of #99000 - JulianKnodt:allow_resolve_no_substs, r=lcnrDylan DPC2022-07-141-1/+0
|\
| * Move abstract const to rustc_middle::tykadmin2022-07-121-1/+0
* | lower let-else in MIR insteadDing Xiang Fei2022-07-111-0/+3
|/
* review feedbackRalf Jung2022-07-091-6/+0
* don't allow ZST in ScalarIntRalf Jung2022-07-091-1/+5
* Add #[derive(TypeVisitable)]Alan Egerton2022-07-051-12/+2
* thir: wrap hir id of vars into local var idDing Xiang Fei2022-06-091-3/+17
* Fix precise field capture of univariant enumsTomasz Miąsko2022-05-231-1/+3