summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx/mod.rs
AgeCommit message (Expand)AuthorLines
2024-01-14Simplify closure_env_ty and closure_env_paramMichael Goulet-37/+19
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-26Rollup merge of #118311 - bvanjoi:merge_coroutinue_into_closure, r=petrochenkovGuillaume Gomez-12/+12
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-12/+12
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-11-17rename bound region instantiationlcnr-1/+1
2023-11-13rename `ReLateBound` to `ReBound`lcnr-1/+1
2023-10-30Some more coroutine renamingsMichael Goulet-4/+9
2023-10-20s/Generator/Coroutine/Oli Scherer-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-10/+0
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+2
2023-05-29Rename `tcx.mk_re_*` => `Region::new_*`Maybe Waffle-1/+1
2023-04-20Remove WithOptconstParam.Camille GILLOT-13/+12
2023-02-27Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obkbors-2/+23
2023-02-26Move THIR printing to rustc_mir_build.Camille GILLOT-17/+0
2023-02-26Store the body type in THIR.Camille GILLOT-2/+23
2023-02-24Rename many interner functions.Nicholas Nethercote-3/+2
2023-02-17Replace more `mk_foo` calls with `infer_foo`.Nicholas Nethercote-3/+3
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-15Add specialized variants of `mk_region`.Nicholas Nethercote-1/+1
2023-01-26previous thir unpretty output through thir-flatb-naber-0/+7
2023-01-26output tree representation for thir-treeb-naber-1/+4
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-7/+4
2022-11-08Add support for custom MIR parsingJakob Degen-1/+10
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+1
2022-09-13Shrink some visibilities.Camille GILLOT-5/+5
2022-09-13Also compute implicit params in THIR.Camille GILLOT-2/+58
2022-09-13Compute explicit MIR params on THIR.Camille GILLOT-1/+47
2022-09-02Clean up THIR patterns.Nicholas Nethercote-1/+1
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-1/+1
2022-07-02Rollup merge of #98639 - camsteffen:no-node-binding, r=compiler-errorsDylan DPC-1/+1
2022-07-01Factor out hir::Node::BindingCameron Steffen-1/+1
2022-06-23Remove dead code.Camille GILLOT-22/+1
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-1/+1
2022-05-22Do leak check after function ptr coercionJack Huey-0/+1
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-2/+4
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-7/+7
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-1/+22
2022-03-23change thir to lazily create constantsb-naber-22/+1
2022-03-16rustc_error: make ErrorReported impossible to constructmark-5/+9
2022-02-15Overhaul `Const`.Nicholas Nethercote-1/+1
2021-09-25Use larger span for adjustments on method callsAaron Hill-0/+10
2021-07-24Support -Z unpretty=thir-tree againSmitty-0/+7
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-6/+0
2021-05-22Handle typeck errors properlyLeSeulArtichaut-0/+3
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-6/+8
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-2/+4