summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2024-08-25Avoid taking reference of &TyKindMichael Goulet-1/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-5/+5
2024-08-06miri: make vtable addresses not globally uniqueRalf Jung-2/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-30/+34
2024-07-17Rollup merge of #127472 - Zalathar:block-and-unit, r=fmeaseMatthias Krüger-23/+24
2024-07-14Add cache for `allocate_str`Adwin White-1/+1
2024-07-08Stop using `unpack!` for `BlockAnd<()>`Zalathar-12/+9
2024-07-08Remove the non-assigning form of `unpack!`Zalathar-11/+15
2024-07-07Fix conflicts after rebaseMaybe Lapkin-1/+1
2024-07-07Properly handle drops for tail callsDrMeepster-18/+22
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-2/+33
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-30Replace a magic boolean with enum `DeclareLetBindings`Zalathar-2/+3
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-4/+5
2024-06-19Rollup merge of #125766 - RenjiSann:fresh-mcdc-branch-on-bool, r=nnethercoteLeón Orell Valerian Liehr-0/+3
2024-06-19coverage: Make MCDC take in account last RHS of condition-coverageDorian Péron-0/+3
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-1/+2
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-3/+5
2024-06-05Basic removal of `Ty` from places (boring)Boxy-4/+2
2024-06-04Reduce `pub` exposure.Nicholas Nethercote-3/+3
2024-05-30coverage: Instrument the RHS value of lazy logical operatorsZalathar-2/+6
2024-05-24Better ICE message for unresolved upvarsMichael Goulet-2/+13
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_mir_build`.Nicholas Nethercote-0/+7
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-1/+3
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_build`.Nicholas Nethercote-0/+4
2024-04-20Add a non-shallow fake borrowNadrieril-1/+1
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-1/+1
2024-04-03Remove MIR unsafe checkMatthew Jasper-12/+5
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-7/+25
2024-03-07Don't pass a break scope to `Builder::break_for_else`Zalathar-2/+0
2024-03-06Additional comments for lowering `if`Zalathar-0/+8
2024-03-06Clarify lowering the `else` arm into the else blockZalathar-6/+6
2024-03-06Clarify how lowering `if` produces then/else blocksZalathar-30/+31
2024-03-04Extract an arguments struct for `Builder::then_else_break`Zalathar-3/+5
2024-03-02The ordinary lowering of `thir::ExprKind::Let` is unreachableZalathar-32/+6
2024-02-24Implement asm goto in MIR and MIR loweringGary Guo-9/+24
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-3/+3
2024-02-24Add asm label support to THIRGary Guo-0/+3
2024-02-21Convert `bug`s back to `delayed_bug`s.Nicholas Nethercote-5/+5
2024-02-21Convert `delayed_bug`s to `bug`s.Nicholas Nethercote-9/+6
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-5/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-0/+3
2024-01-19Pack the u128 in LitKind::IntJosh Stone-1/+1
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-4/+12
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-15/+14
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+3
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-5/+2
2023-12-26Auto merge of #119146 - nnethercote:rm-DiagCtxt-api-duplication, r=compiler-e...bors-3/+3
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-21Give temporaries in if let guards correct scopesMatthew Jasper-1/+8