about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
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
2022-03-09treat all mir::Constant values as ConstantKind::Valb-naber-5/+5
2022-03-08treat literals in ExprKind::StaticRef as mir::ConstantKind::Valb-naber-2/+7
2022-02-286 - Make more use of `let_chains`Caio-15/+13
2022-02-21Auto merge of #93505 - lcnr:substsref-vs-ty-list, r=michaelwoeristerbors-1/+1
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-1/+1
2022-02-20Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"Mark Rousskov-7/+2
2022-02-15use AllocId and Ty in ExprKind::StaticRef and delay ConstValue constructionb-naber-5/+5
2022-02-15use ConstantKind::Val in StaticRefb-naber-1/+6
2022-02-15Overhaul `Const`.Nicholas Nethercote-1/+1
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-01-18Formally implement let chainsCaio-13/+3
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-39/+2
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-4/+3
2022-01-13Auto merge of #89861 - nbdd0121:closure, r=wesleywiserbors-1/+1
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-39/+2
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-4/+1
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-1/+1
2021-12-22Store a `DefId` instead of an `AdtDef` in `AggregateKind::Adt`Aaron Hill-1/+1
2021-12-03Add initial AST and MIR support for unwinding from inline assemblyAmanieu d'Antras-0/+4
2021-10-16Adopt let_else across the compilerest31-4/+2
2021-10-08clippy::complexity fixesMatthias Krüger-2/+2
2021-09-29Rollup merge of #89311 - FabianWolff:issue-89305, r=oli-obkEric Huss-3/+6
2021-09-28Add unit assignment to MIR for `asm!()`Fabian Wolff-3/+6
2021-09-25Use Rvalue::ShallowInitBox for box expressionGary Guo-2/+53
2021-09-16Add `ConstraintCategory::Usage` for handling aggregate constructionAaron Hill-16/+36
2021-09-09Rename `(un)signed` to `(un)signed_int`Andreas Liljeqvist-1/+1
2021-09-09Move `unsigned_max` etc into `Size` againAndreas Liljeqvist-3/+2
2021-09-05Change scope of temporaries in match guardsMatthew Jasper-1/+1
2021-09-02Bless 32bit MIR opt testsMatthew Jasper-1/+1
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-8/+32
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1