summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/mod.rs
AgeCommit message (Expand)AuthorLines
2023-05-13Implement references VarDebugInfo.Camille GILLOT-0/+2
2023-04-30Bail out of MIR construction if `check_match` failsclubby789-1/+3
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-21Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer-0/+7
2023-04-20Remove WithOptconstParam.Camille GILLOT-47/+27
2023-04-11Preserve argument indexes when inlining MIRDavid Lattimore-1/+3
2023-04-06Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors-0/+1
2023-04-03Perform match checking on THIR.Camille GILLOT-0/+1
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-2/+2
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-1/+2
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-1/+2
2023-03-18address review commentsJoshua Nelson-11/+8
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-5/+5
2023-03-11Make the check for cache opt-in.Camille GILLOT-4/+4
2023-03-11Use ensure for thir_abstract_const.Camille GILLOT-5/+2
2023-02-26Access upvars through a query.Camille GILLOT-75/+71
2023-02-26Store the body type in THIR.Camille GILLOT-32/+8
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2023-02-22Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_miscMichael Goulet-1/+1
2023-02-22Use ty_error_with_guaranteed in many more placesMichael Goulet-1/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-01-29Rollup merge of #107006 - b-naber:thir-tree, r=jackh726Matthias Krüger-0/+4
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-3/+1
2023-01-26replace usages of fn_sig query with bound_fn_sigKyle Matsuda-1/+3
2023-01-26output tree representation for thir-treeb-naber-0/+4
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