about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/terminator.rs
AgeCommit message (Expand)AuthorLines
2025-06-27Insert checks for enum discriminants when debug assertions are enabledBastian Kersting-0/+8
2025-04-29Use a closure instead of three chained iteratorsOli Scherer-55/+48
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-20/+106
2025-04-09update cfgsBoxy-3/+3
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-0/+3
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-1/+1
2025-02-24Fix some `use` items that import more than necessary.Nicholas Nethercote-1/+1
2025-02-24Move `impl` blocks out of `rustc_middle/src/mir/syntax.rs`.Nicholas Nethercote-0/+38
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-21Clarify a comment.Nicholas Nethercote-1/+1
2025-02-08occured -> occurredMichael Goulet-1/+1
2025-01-31Insert null checks for pointer dereferences when debug assertions are enabledBastian Kersting-2/+4
2025-01-25fix terminator edges commentsRémy Rakic-2/+4
2024-12-27MatchBranchSimplification: Consider empty-unreachable otherwise branchclubby789-0/+11
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-21Don't alloca for unused localsBen Kimock-0/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+6
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-3/+10
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-1/+2
2024-06-12Require any function with a tait in its signature to actually constrain a hid...Oli Scherer-70/+81
2024-04-29Remove `extern crate smallvec` from a couple of crates.Nicholas Nethercote-1/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-04-08Transforms match into an assignment statementDianQK-0/+6
2024-03-22Codegen const panic messages as function callsMark Rousskov-24/+49
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-1/+1
2024-03-08Auto merge of #122182 - matthiaskrgr:rollup-gzimi4c, r=matthiaskrgrbors-54/+53
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-54/+53
2024-03-07Replace the default branch with an unreachable branch If it is the last variantDianQK-0/+11
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-1/+1
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-31/+33
2024-02-24Use slice.chain(option) for SuccessorsGary Guo-31/+28
2024-02-03Use `DiagnosticArgName` in a few more places.Nicholas Nethercote-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2024-01-19Pack the u128 in SwitchTargetsJosh Stone-5/+7
2023-12-31Inline utils.Camille GILLOT-0/+19
2023-12-25Only regular coroutines have movabilityMichael Goulet-4/+4
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-12/+26
2023-12-10remove redundant importssurechen-2/+1
2023-12-08Implement `async gen` blocksMichael Goulet-0/+8
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-10-30Add a custom panic message for resuming `gen` blocks after they panickedOli Scherer-2/+1
2023-10-27Fuse `gen` blocksOli Scherer-2/+3
2023-10-27Basic generators workOli Scherer-2/+3
2023-10-26Add hir::GeneratorKind::GenOli Scherer-0/+10
2023-10-23Auto merge of #116033 - bvanjoi:fix-116032, r=petrochenkovbors-2/+0
2023-10-22use visibility to check unused imports and delete some stmtsbohan-2/+0
2023-10-21Implement JumpThreading pass.Camille GILLOT-0/+9
2023-10-20Rename `CoroutineKind::Gen` to `::Coroutine`Oli Scherer-4/+8