summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr/into.rs
AgeCommit message (Expand)AuthorLines
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-1/+5
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+3
2023-12-18Pass THIR ExprIds in MIR buildingMatthew Jasper-50/+47
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-8/+16
2023-08-30use if only on lhs of binary logical exprsDing Xiang Fei-16/+18
2023-08-30lower bare boolean expression with if-constructDing Xiang Fei-39/+29
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-2/+2
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-1/+1
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-1/+4
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-1/+5
2023-04-21offset_ofDrMeepster-1/+2
2023-04-17Spelling - compilerJosh Soref-2/+2
2023-04-06Add `UnwindAction::Terminate`Gary Guo-1/+5
2023-04-06Refactor unwind from Option to a new enumGary Guo-3/+6
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-7/+4
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-1/+2
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-3/+2
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-1/+1
2022-12-19Revert "Auto merge of #103880 - b-naber:field-ty-mir, r=lcnr"Rémy Rakic-5/+3
2022-12-16Auto merge of #103880 - b-naber:field-ty-mir, r=lcnrbors-3/+5
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-1/+1
2022-11-23use no type in ProjectionElem::Field for PlaceBuilder::UpVarb-naber-2/+2
2022-11-23get field ty during projectingb-naber-2/+4
2022-11-23Auto merge of #103947 - camsteffen:place-clones, r=cjgillotbors-4/+2
2022-11-22Rollup merge of #104669 - LeSeulArtichaut:88015-if-let-guard-bindings, r=cjgi...Dylan DPC-1/+1
2022-11-21Only declare bindings for if-let guards once per armLéo Lanteri Thauvin-1/+1
2022-11-20Change to Ty::is_inhabited_fromCameron Steffen-9/+4
2022-11-17Remove more PlaceBuilder clonesCameron Steffen-4/+2
2022-11-17Replace into_place with to_placeCameron Steffen-1/+1
2022-09-28fix unwind drop glue for if-then scopesDing Xiang Fei-2/+2
2022-09-16Merge two arguments into oneOli Scherer-3/+2
2022-09-10Auto merge of #100968 - cjgillot:mir-upvar-vec, r=wesleywiserbors-3/+1
2022-09-02Box `CanonicalUserTypeAnnotation::CanonicalUserType`.Nicholas Nethercote-2/+2
2022-08-24Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote-2/+7
2022-08-24Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote-1/+1
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-1/+1
2022-08-24Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote-3/+3
2022-08-23Only compute captures once when building MIR.Camille GILLOT-3/+1
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-2/+5
2022-07-15Pass one argument instead of fetching two fields of it at every call siteOli Scherer-3/+1
2022-07-15Add some tracing instrumentationOli Scherer-2/+1
2022-07-09don't allow ZST in ScalarIntRalf Jung-0/+1
2022-06-14Only create scopes for if letXavier Denis-4/+20
2022-06-10Actually fixXavier Denis-1/+4
2022-06-10Revert "More minimal changes"Xavier Denis-2/+3
2022-06-10More minimal changesXavier Denis-3/+2
2022-06-10Fix `SourceScope` for `if let` bindings.Xavier Denis-2/+3
2022-05-26clippy::complexity fixesMatthias Krüger-5/+1