summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/mod.rs
AgeCommit message (Expand)AuthorLines
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-6/+6
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-1/+1
2022-12-13Ensure valid local_data is set for custom mir buildingGary Guo-0/+1
2022-12-05Move -Z maximal-hir-to-mir-coverage implementation to new `maybe_new_source_s...Will Crichton-14/+6
2022-11-29Improve spans in custom mirJakob Degen-1/+1
2022-11-21Only declare bindings for if-let guards once per armLéo Lanteri Thauvin-1/+1
2022-11-08Add support for custom MIR parsingJakob Degen-0/+17
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-67/+61
2022-10-07Remove TypeckResults from InferCtxtCameron Steffen-2/+2
2022-09-13Also compute implicit params in THIR.Camille GILLOT-79/+35
2022-09-13Compute explicit MIR params on THIR.Camille GILLOT-53/+12
2022-09-13Simplify MIR building entry.Camille GILLOT-281/+250
2022-09-13Use tcx.hir() utils for spans in MIR building.Camille GILLOT-43/+16
2022-09-13Only keep one version of ImplicitSelfKind.Camille GILLOT-8/+2
2022-09-10Auto merge of #100968 - cjgillot:mir-upvar-vec, r=wesleywiserbors-9/+21
2022-09-10Remove unused temp.Camille Gillot-2/+1
2022-09-06Shrink span for bindings with subpatterns.Camille GILLOT-1/+1
2022-09-02Avoid some clones.Nicholas Nethercote-1/+4
2022-09-02Clean up THIR patterns.Nicholas Nethercote-2/+2
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-1/+1
2022-08-23Only compute captures once when building MIR.Camille GILLOT-9/+22
2022-08-22Fix span for consts in mir builderNilstrieb-3/+13
2022-07-30Use LocalDefId for closures moreCameron Steffen-2/+2
2022-07-12Add an indirection for closures in `hir::ExprKind`Maybe Waffle-3/+4
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-07-01Factor out hir::Node::BindingCameron Steffen-1/+1
2022-06-28Do not use a suggestion to change a binding's name to a typeMichael Goulet-1/+5
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-2/+2
2022-06-14rebaseb-naber-1/+2
2022-06-14address reviewb-naber-1/+58
2022-06-14address reviewb-naber-56/+2
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-54/+64
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-2/+2
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-7/+8
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-0/+2
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-2/+0
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-0/+56
2022-05-14Auto merge of #96883 - jackh726:early-binder-2, r=oli-obkbors-1/+1
2022-05-13Add bound_type_ofJack Huey-3/+2
2022-05-10Introduce EarlyBinderJack Huey-2/+3
2022-05-10only_local: always check for misuselcnr-1/+0
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-0/+12
2022-04-20Rollup merge of #93313 - tmiasko:uninhabited, r=tmandryDylan DPC-1/+4
2022-03-29Remember mutability in `DefKind::Static`.Camille GILLOT-2/+2
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-1/+4
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+6
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+2
2022-02-286 - Make more use of `let_chains`Caio-8/+6
2022-02-19Adopt let else in more placesest31-3/+2