summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
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
2022-06-20Auto merge of #97931 - xldenis:fix-if-let-source-scopes, r=nagisabors-2/+22
2022-06-14Only create scopes for if letXavier Denis-4/+20
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-2/+57
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-2/+2
2022-06-10Actually fixXavier Denis-1/+4
2022-06-10Revert "More minimal changes"Xavier Denis-2/+3
2022-06-10More minimal changesXavier Denis-3/+2
2022-06-10Fix `SourceScope` for `if let` bindings.Xavier Denis-2/+3
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-15/+13
2022-06-07Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-amanDylan DPC-11/+48
2022-06-03Replace `&Vec<_>`s with `&[_]`sMaybe Waffle-2/+2
2022-06-02add cast kind of from_exposed_addr (int-to-ptr casts)Ralf Jung-0/+3
2022-06-01rename PointerAddress → PointerExposeAddressRalf Jung-1/+1
2022-05-31Add a pointer to address cast kindTomasz Miąsko-3/+12
2022-05-26clippy::complexity fixesMatthias Krüger-5/+1
2022-05-25Rollup merge of #95953 - JakobDegen:repeat-leak, r=oli-obkDylan DPC-5/+45
2022-05-24Modify MIR building to drop `foo` in `[foo; 0]`Jakob Degen-5/+45
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-3/+5
2022-05-23Fix precise field capture of univariant enumsTomasz Miąsko-11/+48
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-27/+27
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-56/+1
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-7/+9
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-30/+88
2022-05-02fix most compiler/ doctestsElliot Roberts-7/+9
2022-04-20Rollup merge of #93313 - tmiasko:uninhabited, r=tmandryDylan DPC-4/+9
2022-04-16Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisabors-3/+9
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-3/+9
2022-04-13couple of clippy::complexity fixesMatthias Krüger-6/+2
2022-04-08dont make lit_to_mir_constant a queryb-naber-1/+56
2022-04-02rebase and use ty::Const in patterns againb-naber-61/+3
2022-04-02change thir to use mir::ConstantKind instead of ty::Constb-naber-3/+6
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-4/+9
2022-03-23dont use a query for lit_to_constantb-naber-11/+8
2022-03-23use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_...b-naber-7/+6
2022-03-23use ParamConst in ExprKind::ConstParamb-naber-2/+4
2022-03-23remove thir::Visitor::visit_constb-naber-13/+3
2022-03-23change thir to lazily create constantsb-naber-15/+137
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-4/+4