summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build
AgeCommit message (Expand)AuthorLines
2023-11-09rename `BorrowKind::Shallow` to `Fake`lcnr-2/+2
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-80/+77
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-2/+2
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-73/+73
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-8/+5
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-3/+3
2023-09-19move ConstValue into mirRalf Jung-5/+2
2023-09-05Refactor how MIR represents composite debuginfo.Camille GILLOT-0/+5
2023-09-01Support debuginfo for custom MIR.Camille GILLOT-2/+57
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-30lower ExprKind::Use, LogicalOp::Or and UnOp::NotDing Xiang Fei-0/+44
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-2/+2
2023-08-24Auto merge of #115012 - Zoxc:thir-check-root, r=cjgillotbors-1/+2
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-7/+7
2023-08-20Ensure that THIR unsafety check is done before stealing it. Fixes #111520.John Kåre Alsaker-1/+2
2023-08-19custom_mir: change Call() terminator syntax to something more readableRalf Jung-10/+9
2023-08-17Revert "Implement references VarDebugInfo."Camille GILLOT-4/+0
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-2/+2
2023-08-04Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillotMatthias Krüger-0/+3
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-1/+1
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-18/+12
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-34/+28
2023-07-14Auto merge of #113609 - nnethercote:maybe_lint_level_root_bounded-cache, r=cj...bors-12/+71
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-20/+16
2023-07-13Add a cache for `maybe_lint_level_root_bounded`.Nicholas Nethercote-10/+47
2023-07-12Move `maybe_lint_level_root_bounded`.Nicholas Nethercote-3/+24
2023-07-12Shorten some overlong comment lines.Nicholas Nethercote-6/+7
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-8/+12
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-14/+16
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-27Rollup merge of #113093 - WaffleLapkin:become_unuwuable_in_thir, r=NilstriebMatthias Krüger-2/+15
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-2/+15
2023-06-27Rollup merge of #113039 - matthiaskrgr:custom_mir, r=compiler-errorsMatthias Krüger-1/+5
2023-06-27Auto merge of #112693 - ericmarkmartin:use-more-placeref, r=spastorinobors-15/+4
2023-06-26make custom mir ICE a bit nicerMatthias Krüger-1/+5
2023-06-25use PlaceRef abstractions more consistentlyEric Mark Martin-15/+4
2023-06-21Rollup merge of #112759 - cjgillot:closure-names, r=oli-obkNilstrieb-0/+16
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-3/+3
2023-06-19Remove duplicated comment.Camille GILLOT-7/+0
2023-06-19Make closure_saved_names_of_captured_variables a query.Camille GILLOT-0/+23
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-5/+11
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-1/+1
2023-05-31Remove `lit_to_mir_constant` queryOli Scherer-2/+1
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-4/+6
2023-05-25Auto merge of #111925 - Manishearth:rollup-z6z6l2v, r=Manishearthbors-5/+5
2023-05-24Rollup merge of #111841 - matthewjasper:validate-match-guards, r=compiler-errorsMatthias Krüger-2/+6