summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/mod.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-07-08Stop using `unpack!` for `BlockAnd<()>`Zalathar-2/+2
2024-07-08Remove the non-assigning form of `unpack!`Zalathar-10/+15
2024-07-05coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`Zalathar-4/+4
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-8/+7
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-2/+5
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-3/+3
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-5/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_build`.Nicholas Nethercote-0/+1
2024-05-04Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillotbors-1/+2
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-1/+1
2024-04-29Avoid some `def_span` query callsOli Scherer-1/+2
2024-04-18Rollup merge of #124110 - beetrees:neg-f16-f128, r=compiler-errorsJubilee-2/+14
2024-04-18Fix negating `f16` and `f128` constantsbeetrees-2/+14
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-3/+3
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-5/+5
2024-04-03Remove MIR unsafe checkMatthew Jasper-43/+9
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-9/+5
2024-03-25Auto merge of #122721 - oli-obk:merge_queries, r=davidtwcobors-8/+3
2024-03-20Replace `mir_built` query with a hook and use mir_const everywhere insteadOli Scherer-8/+3
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-2/+7
2024-03-16Auto merge of #121926 - tgross35:f16-f128-step3-feature-gate, r=compiler-erro...bors-3/+5
2024-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-3/+5
2024-03-14coverage: Data structures for recording branch info during MIR buildingZalathar-2/+10
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-02-28Add `f16` and `f128` to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`Trevor Gross-0/+2
2024-02-09Don't ICE in ByMoveBody when coroutine is taintedMichael Goulet-10/+26
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-3/+18
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-0/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+1
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