summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2023-04-06Add `UnwindAction::Terminate`Gary Guo-1/+5
2023-04-06Refactor unwind from Option to a new enumGary Guo-5/+12
2023-04-02Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obkbors-14/+10
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-14/+10
2023-04-01use and_then/flat_map for map().flatten()Matthias Krüger-3/+3
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-5/+7
2023-03-27Bless tidyMaybe Waffle-1/+1
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-4/+2
2023-03-22Generate simpler MIR for shiftsScott McMurray-23/+33
2023-03-18address review commentsJoshua Nelson-12/+35
2023-03-16Auto merge of #108944 - cjgillot:clear-local-info, r=oli-obkbors-32/+34
2023-03-15Auto merge of #108282 - cjgillot:mir-checked-sh, r=tmiaskobors-22/+63
2023-03-14Make is_block_tail a variant of LocalInfo.Camille GILLOT-16/+18
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-24/+24
2023-03-05Auto merge of #107844 - Zeegomo:no-drop-and-rep, r=cjgillotbors-1/+1
2023-03-03Desugars drop and replace at MIR buildGiacomo Pasini-1/+1
2023-03-03Match end user facing unmatched backticks in compiler/est31-1/+1
2023-02-28Remove the `capture_disjoint_fields` featureclubby789-6/+5
2023-02-27Implement checked Shl/Shr at MIR building.Camille GILLOT-22/+63
2023-02-24Rename many interner functions.Nicholas Nethercote-6/+6
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-1/+1
2023-02-02Put a DefId in AggregateKind.Camille GILLOT-2/+6
2023-01-30Use `Mutability::{is_mut, is_not}`Maybe Waffle-1/+1
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-5/+5
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-17tidyWaffle Maybe-1/+1
2023-01-17Don't call closures immediately, use `try{}` blocksMaybe Waffle-5/+5
2022-12-24Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholkMatthias Krüger-2/+2
2022-12-22Fix the issue number in comment for as_local_call_operandTomasz Miąsko-1/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-2/+2
2022-12-20Some style nitsOli Scherer-2/+2
2022-12-19Revert "Auto merge of #103880 - b-naber:field-ty-mir, r=lcnr"Rémy Rakic-300/+72
2022-12-18avoid .into() conversion to identical typesMatthias Krüger-1/+1
2022-12-16Auto merge of #103880 - b-naber:field-ty-mir, r=lcnrbors-72/+300
2022-12-14address reviewb-naber-87/+50
2022-12-14Remove one more usage of `mk_substs_trait`Oli Scherer-1/+1
2022-12-12Rollup merge of #105615 - WaffleLapkin:remove_opt_scope_span_mention, r=compi...Matthias Krüger-4/+2
2022-12-12Fixup method doc that mentions removed paramMaybe Waffle-4/+2
2022-12-12Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkovbors-2/+2
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-1/+1
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-2/+2
2022-11-29Support most constant kinds in custom mirJakob Degen-66/+71
2022-11-29reduce allocationsb-naber-38/+111
2022-11-28Simplify calls to `tcx.mk_const`Maybe Waffle-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-14/+14
2022-11-23use no type in ProjectionElem::Field for PlaceBuilder::UpVarb-naber-34/+62
2022-11-23include closures and generators in try_compute_field_tyb-naber-3/+39
2022-11-23get field ty during projectingb-naber-98/+181