summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
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
2021-08-18Remove box syntax from rustc_mir_buildest31-28/+34
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-24/+45
2021-07-10Implement Mutation- and BorrowOfLayoutConstrainedField in thir-unsafeckFabian Wolff-1/+1
2021-06-27fixup! Editon 2021 enables precise captureAman Arora-2/+1
2021-06-27Editon 2021 enables precise captureAman Arora-1/+11
2021-06-13Box `ExprKind::Adt`LeSeulArtichaut-1/+8
2021-05-27Remove feature gateRoxane-19/+15
2021-05-27Rollup merge of #85564 - pnkfelix:issue-85435-readd-capture-disjoint-fields-g...Dylan DPC-15/+20
2021-05-25Rollup merge of #85605 - ptrojahn:closure_struct, r=matthewjasperGuillaume Gomez-4/+2
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-4/+2
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-7/+7