summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2023-11-09rename `BorrowKind::Shallow` to `Fake`lcnr-1/+1
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-41/+49
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-41/+49
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-3/+3
2023-09-19move ConstValue into mirRalf Jung-3/+1
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-08-04Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillotMatthias Krüger-0/+3
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-2/+1
2023-07-24Perform OpaqueCast field projection on HIR, too.Oli Scherer-0/+3
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-17/+13
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-9/+3
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-5/+5
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-4/+4
2023-07-04Replace `const_error` methods with `Const::new_error`Boxy-1/+1
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-1/+1
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-2/+15
2023-06-27Auto merge of #112693 - ericmarkmartin:use-more-placeref, r=spastorinobors-15/+4
2023-06-25use PlaceRef abstractions more consistentlyEric Mark Martin-15/+4
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-3/+3
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-2/+6
2023-05-31Remove `lit_to_mir_constant` queryOli Scherer-1/+1
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-0/+1
2023-05-24Rollup merge of #111841 - matthewjasper:validate-match-guards, r=compiler-errorsMatthias Krüger-2/+6
2023-05-23Rollup merge of #111579 - scottmcm:enum-as-signed, r=oli-obkDylan DPC-43/+58
2023-05-22Run AST validation on match guards correctlyMatthew Jasper-2/+6
2023-05-20don't skip inference for type in `offset_of!`Lukas Markeffsky-4/+3
2023-05-18Also assume wrap-around discriminants in `as` MIR buildingScott McMurray-43/+58
2023-05-16Erase regions of type in `offset_of!`clubby789-3/+4
2023-05-14Rename const error methods for consistencyMichael Goulet-1/+1
2023-05-02update and add a few testsDeadbeef-0/+6
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-22Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors-2/+9
2023-04-21minor tweaksDrMeepster-2/+2
2023-04-21intern offsetof fieldsDrMeepster-2/+2
2023-04-21offset_ofDrMeepster-4/+11
2023-04-20Remove WithOptconstParam.Camille GILLOT-2/+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-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