summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx/expr.rs
AgeCommit message (Expand)AuthorLines
2023-07-08Rollup merge of #113217 - ericmarkmartin:lower-type-relative-ctor-to-adt, r=c...Matthias Krüger-15/+32
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-6/+11
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-6/+12
2023-07-02refactorEric Mark Martin-17/+19
2023-06-30resolve typerelative ctors to adtEric Mark Martin-12/+27
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-6/+2
2023-06-26`hir`: Add `Become` expression kindMaybe Waffle-0/+5
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-6/+10
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-19Drive-by-cleanup: Don't emit `thir::ExprKind::NeverToAny` for `! -> !`Maybe Waffle-0/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-21intern offsetof fieldsDrMeepster-1/+1
2023-04-21offset_ofDrMeepster-0/+8
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-3/+3
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-6/+6
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-4/+4
2023-03-20Remove Ty::is_region_ptrMu42-1/+1
2023-03-14Remove box expressions from HIRclubby789-1/+0
2023-03-04Auto merge of #108692 - nnethercote:dont-call-temporary_scope-twice, r=cjgillotbors-4/+2
2023-03-03Don't call `temporary_scope` twice.Nicholas Nethercote-4/+2
2023-03-02Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errorsMatthias Krüger-1/+31
2023-03-02Restrict `#[rustc_box]` to `Box::new` callsclubby789-1/+31
2023-02-27Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obkbors-2/+3
2023-02-26Access upvars through a query.Camille GILLOT-2/+3
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-1/+1
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-2/+2
2022-11-24Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiserbors-7/+5
2022-11-21Reduce the amount of passed-around arguments that will get merged into one la...Oli Scherer-8/+9
2022-11-16Use `as_deref` in compiler (but only where it makes sense)Maybe Waffle-7/+5
2022-11-13Store a LocalDefId in hir::AnonConst.Camille GILLOT-7/+5
2022-11-13Store a LocalDefId in hir::GenericParam.Camille GILLOT-3/+1
2022-11-08Add support for custom MIR parsingJakob Degen-5/+11
2022-10-14Make dyn* cast into a coercionMichael Goulet-0/+1
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1
2022-09-16Merge two arguments into oneOli Scherer-0/+4
2022-09-05refactor: remove unnecessary variablesTakayuki Maeda-1/+2
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-3/+6
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+1
2022-08-24Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote-4/+4
2022-08-24Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote-2/+2
2022-08-24Box `thir::ExprKind::Closure`.Nicholas Nethercote-1/+7
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-5/+5
2022-08-24Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote-13/+17
2022-07-30Use LocalDefId for closures moreCameron Steffen-0/+1
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-4/+0
2022-07-15Add some tracing instrumentationOli Scherer-0/+4
2022-07-09review feedbackRalf Jung-2/+2
2022-07-05Prefer trace level instrumentation for the new noisy instrument attributesOli Scherer-2/+2
2022-06-29Some tracing cleanupsOli Scherer-2/+3