summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx/expr.rs
AgeCommit message (Expand)AuthorLines
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-1/+1
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-2/+5
2022-05-23Fix precise field capture of univariant enumsTomasz Miąsko-8/+6
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-8/+20
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-09use hir::Let in hir::GuardSparrowLii-2/+2
2022-05-06`mirror_expr` cleanuplcnr-21/+16
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-85/+46
2022-04-02try to evaluate in from_opt_const_arg_anon_constb-naber-2/+5
2022-04-02change thir to use mir::ConstantKind instead of ty::Constb-naber-2/+3
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-2/+2
2022-03-23use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_...b-naber-1/+1
2022-03-23use ParamConst in ExprKind::ConstParamb-naber-9/+3
2022-03-23remove thir::Visitor::visit_constb-naber-1/+0
2022-03-23change thir to lazily create constantsb-naber-79/+50
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-5/+5
2022-03-09treat all mir::Constant values as ConstantKind::Valb-naber-0/+3
2022-03-08treat literals in ExprKind::StaticRef as mir::ConstantKind::Valb-naber-10/+2
2022-02-20Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"Mark Rousskov-2/+10
2022-02-19Adopt let else in more placesest31-10/+7
2022-02-15use AllocId and Ty in ExprKind::StaticRef and delay ConstValue constructionb-naber-10/+2
2022-02-15Overhaul `Const`.Nicholas Nethercote-4/+4
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-2/+2
2022-01-18Formally implement let chainsCaio-1/+0
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-6/+0
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-6/+0
2022-01-07Remove region from UpvarCapture and move it to CapturedPlaceGary Guo-1/+1
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-1/+1
2021-12-23implement `generic_arg_infer` for array lengthslcnr-3/+6
2021-12-13let-else: add hir::Let and type check it like a hir::LocalCormac Relf-3/+4
2021-11-07Implement type inference for inline constsGary Guo-1/+1
2021-09-25Use larger span for adjustments on method callsAaron Hill-2/+17
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-0/+4
2021-08-26make unevaluated const substs optionallcnr-8/+6
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-18Remove box syntax from rustc_mir_buildest31-9/+9
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+3
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-1/+5
2021-06-13Box `ExprKind::Adt`LeSeulArtichaut-8/+8
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-3/+6
2021-05-19Store THIR in `IndexVec`s instead of an `Arena`LeSeulArtichaut-230/+213
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-2/+6
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-8/+8
2021-03-17Auto merge of #83188 - petrochenkov:field, r=lcnrbors-1/+4
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-1/+4
2021-03-15Fix error after rebaseRoxane-14/+5
2021-03-15Add comments with examples and testsRoxane-13/+13
2021-03-14Only borrow place for matching under specific conditionsRoxane-26/+17
2021-03-14Use the correct FakeReadCauseRoxane-67/+36