summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr/into.rs
AgeCommit message (Expand)AuthorLines
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-7/+25
2024-03-07Don't pass a break scope to `Builder::break_for_else`Zalathar-2/+0
2024-03-06Additional comments for lowering `if`Zalathar-0/+8
2024-03-06Clarify lowering the `else` arm into the else blockZalathar-6/+6
2024-03-06Clarify how lowering `if` produces then/else blocksZalathar-30/+31
2024-03-04Extract an arguments struct for `Builder::then_else_break`Zalathar-3/+5
2024-03-02The ordinary lowering of `thir::ExprKind::Let` is unreachableZalathar-32/+6
2024-02-24Implement asm goto in MIR and MIR loweringGary Guo-9/+24
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-3/+3
2024-02-24Add asm label support to THIRGary Guo-0/+3
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