about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx/mod.rs
AgeCommit message (Expand)AuthorLines
2025-08-15Port `#[custom_mir(..)]` to the new attribute systemSasha Pourcelot-6/+4
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-1/+1
2025-05-21lower bodies' params to thir before the body's valuedianne-1/+2
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-1/+1
2025-03-12Rollup merge of #137504 - nnethercote:remove-Map-4, r=ZalatharManish Goregaokar-3/+2
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-3/+2
2025-03-09Explain weird quirk in user type annotation loweringMichael Goulet-1/+1
2025-02-23Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,tr...Jacob Pratt-3/+3
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-3/+3
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-17/+23
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-4/+3
2025-02-08Rustfmtbjorn3-5/+3
2025-02-04Rename `thir::cx::Cx` to `ThirBuildCx`Zalathar-5/+8
2025-02-04Remove helper trait `UserAnnotatedTyHelpers`Zalathar-10/+6
2024-11-23 thir building: use typing_env directlylcnr-15/+5
2024-11-19pattern lowering, yeet `TypingEnv::from_param_env`lcnr-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-0/+12
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+6
2024-08-17Remove a useless ref/id/ref round-trip from `pattern_from_hir`Zalathar-6/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-1/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-18/+3
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-3/+18
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_mir_build`.Nicholas Nethercote-0/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_build`.Nicholas Nethercote-0/+1
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-2/+2
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-2/+16
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