summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2022-11-29Support most constant kinds in custom mirJakob Degen-66/+71
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-23Auto merge of #103947 - camsteffen:place-clones, r=cjgillotbors-91/+90
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/+10
2022-11-17Replace into_place with to_placeCameron Steffen-33/+19
2022-11-17Replace try_upvars_resolved with try_to_placeCameron Steffen-10/+8
2022-11-17Introduce PlaceBuilder::resolve_upvar by refCameron Steffen-63/+72
2022-11-10Use const_error_with_guaranteed moreMichael Goulet-6/+25
2022-11-04Refactor tcx mk_const parameters.Mateusz-2/+1
2022-10-31Remove bounds check with enum castouz-a-1/+50
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-3/+2
2022-10-13Ensure enum cast movesGary Guo-2/+2
2022-10-09Skip chained OpaqueCast when building captures.Camille GILLOT-8/+7
2022-10-08Rollup merge of #102675 - ouz-a:mir-technical-debt, r=oli-obkMatthias Krüger-11/+2
2022-10-06Remove `mir::CastKind::Misc`ouz-a-11/+2
2022-09-28fix unwind drop glue for if-then scopesDing Xiang Fei-2/+2
2022-09-23rename Unevaluated to UnevaluatedConstb-naber-2/+4
2022-09-22introduce mir::Unevaluatedb-naber-2/+3
2022-09-20Auto merge of #99806 - oli-obk:unconstrained_opaque_type, r=estebankbors-52/+44
2022-09-17Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors-11/+6
2022-09-16Only generate `OpaqueCast` for opaque typesOli Scherer-0/+4
2022-09-16Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r...Oli Scherer-5/+12
2022-09-16Merge two arguments into oneOli Scherer-49/+30
2022-09-14address review againb-naber-11/+6
2022-09-12Call destructors when dyn* object goes out of scopeEric Holk-4/+1
2022-09-12dyn* through more typechecking and MIREric Holk-0/+5
2022-09-10Auto merge of #100968 - cjgillot:mir-upvar-vec, r=wesleywiserbors-114/+43
2022-09-02Box `CanonicalUserTypeAnnotation::CanonicalUserType`.Nicholas Nethercote-12/+12
2022-08-24Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote-2/+7
2022-08-24Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote-1/+1
2022-08-24Box `thir::ExprKind::Closure`.Nicholas Nethercote-1/+7
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-10/+19
2022-08-24Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote-18/+18
2022-08-23Only compute captures once when building MIR.Camille GILLOT-114/+43
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-1/+1
2022-07-30Use LocalDefId for closures moreCameron Steffen-11/+7
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-59/+56
2022-07-15Allow destructuring opaque types, since the patterns constrain the opaque typesOli Scherer-5/+28
2022-07-15Some tracing helpersOli Scherer-0/+3
2022-07-15Pass one argument instead of fetching two fields of it at every call siteOli Scherer-47/+26
2022-07-15Add some tracing instrumentationOli Scherer-6/+2
2022-07-15Introduce opaque type to hidden type projectionOli Scherer-0/+2
2022-07-09tweak names and output and blessRalf Jung-1/+1
2022-07-09review feedbackRalf Jung-1/+1
2022-07-09don't allow ZST in ScalarIntRalf Jung-1/+16
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-4/+25