summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx
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-06-07Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-amanDylan DPC-8/+6
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-1/+1
2022-05-23Fix precise field capture of univariant enumsTomasz Miąsko-8/+6
2022-05-22Do leak check after function ptr coercionJack Huey-0/+2
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-10/+24
2022-05-21Auto merge of #96515 - lcnr:user-types-in-pat, r=nikomatsakisbors-2/+7
2022-05-21correctly deal with user type ascriptions in patlcnr-2/+7
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-10/+10
2022-05-18Auto merge of #97019 - b-naber:transition-to-valtrees-pt1, r=oli-obkbors-1/+22
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-1/+22
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-02rebase and remove dead codeb-naber-22/+1
2022-04-02try to evaluate in from_opt_const_arg_anon_constb-naber-2/+5
2022-04-02rebase and use ty::Const in patterns againb-naber-1/+2
2022-04-02change thir to use mir::ConstantKind instead of ty::Constb-naber-2/+23
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-101/+51
2022-03-16rustc_error: make ErrorReported impossible to constructmark-5/+9
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-5/+5
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/+27
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-24Support -Z unpretty=thir-tree againSmitty-0/+7
2021-07-17Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obkbors-1/+5