about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/cx
AgeCommit message (Expand)AuthorLines
2024-01-16Rollup merge of #119969 - compiler-errors:simplify-closure-env-ty, r=oli-obkMatthias Krüger-37/+19
2024-01-14Use zip_eq to enforce that things being zipped have equal sizesMichael Goulet-1/+2
2024-01-14Simplify closure_env_ty and closure_env_paramMichael Goulet-37/+19
2024-01-05Remove `thir::Guard`Matthew Jasper-1/+1
2024-01-05Remove `hir::Guard`Matthew Jasper-7/+2
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-2/+2
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-15Annotate some more bugsMichael Goulet-1/+1
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-12-04Don't include destruction scopes in THIRMatthew Jasper-23/+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-3/+3
2023-11-25Review commentMichael Goulet-20/+8
2023-11-25make sure we still eagerly emit errorsMichael Goulet-2/+4
2023-11-25Remove mir::Const::from_anon_constMichael Goulet-4/+22
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-52/+45
2023-11-17rename bound region instantiationlcnr-1/+1
2023-11-15Re-format code with new rustfmtMark Rousskov-4/+4
2023-11-13rename `ReLateBound` to `ReBound`lcnr-1/+1
2023-10-31Support enum variants in offset_of!George Bateman-1/+1
2023-10-30Some more coroutine renamingsMichael Goulet-4/+9
2023-10-26Auto merge of #113262 - Nilstrieb:rawr-casting, r=lcnrbors-19/+13
2023-10-25Use let chains instead of let elseNilstrieb-19/+13
2023-10-20s/Generator/Coroutine/Oli Scherer-4/+4
2023-10-13Format all the let chains in compilerMichael Goulet-13/+17
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-10/+4
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-1/+1
2023-08-15Rollup merge of #114819 - estebank:issue-78124, r=compiler-errorsMatthias Krüger-0/+1
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-0/+1
2023-08-14Remove unnecessary FIXMEouz-a-1/+0
2023-08-04Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31Matthias Krüger-2/+8
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+8
2023-08-04Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillotMatthias Krüger-0/+3
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-3/+1
2023-07-24Perform OpaqueCast field projection on HIR, too.Oli Scherer-0/+3
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-38/+36
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-28/+1
2023-07-08Rollup merge of #113217 - ericmarkmartin:lower-type-relative-ctor-to-adt, r=c...Matthias Krüger-15/+32
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-6/+11
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-8/+14
2023-07-02refactorEric Mark Martin-17/+19
2023-06-30resolve typerelative ctors to adtEric Mark Martin-12/+27
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-6/+2
2023-06-26`hir`: Add `Become` expression kindMaybe Waffle-0/+5
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-6/+10
2023-05-29Rename `tcx.mk_re_*` => `Region::new_*`Maybe Waffle-1/+1
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-19Drive-by-cleanup: Don't emit `thir::ExprKind::NeverToAny` for `! -> !`Maybe Waffle-0/+1