summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/mod.rs
AgeCommit message (Expand)AuthorLines
2024-01-14Use zip_eq to enforce that things being zipped have equal sizesMichael Goulet-1/+1
2024-01-14Closure body was being built incorrectly on error...Michael Goulet-1/+2
2024-01-06Don't populate yield and resume types after the factMichael Goulet-60/+60
2024-01-04Check yield terminator's resume type in borrowckMichael Goulet-10/+17
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-2/+2
2023-12-21Give temporaries in if let guards correct scopesMatthew Jasper-0/+8
2023-12-18Pass THIR ExprIds in MIR buildingMatthew Jasper-8/+9
2023-12-15Annotate some more bugsMichael Goulet-2/+6
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-8/+8
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-8/+8
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-3/+3
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-07Build pre-coroutine-transform coroutine bodyMichael Goulet-11/+1
2023-11-06Build a better MIR body when errors are encounteredMichael Goulet-29/+59
2023-10-30Some more coroutine renamingsMichael Goulet-4/+4
2023-10-25Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naberbors-11/+15
2023-10-20s/generator/coroutine/Oli Scherer-14/+14
2023-10-20s/Generator/Coroutine/Oli Scherer-6/+6
2023-10-16Address review commentsMatthew Jasper-1/+0
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-10/+15
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-2/+2
2023-09-19move ConstValue into mirRalf Jung-1/+0
2023-09-05Refactor how MIR represents composite debuginfo.Camille GILLOT-0/+2
2023-08-20Ensure that THIR unsafety check is done before stealing it. Fixes #111520.John Kåre Alsaker-1/+2
2023-08-17Revert "Implement references VarDebugInfo."Camille GILLOT-2/+0
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-1/+1
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-8/+7
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-9/+7
2023-07-13Add a cache for `maybe_lint_level_root_bounded`.Nicholas Nethercote-0/+10
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+2
2023-06-19Remove duplicated comment.Camille GILLOT-7/+0
2023-06-19Make closure_saved_names_of_captured_variables a query.Camille GILLOT-0/+23
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-1/+1
2023-05-31Remove `lit_to_mir_constant` queryOli Scherer-1/+0
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